Dincat
2022-08-11 d504a7df2f0c97b29a5ddebc8d46e7fbfa05fa47
ruoyi-ui/src/api/login.js
@@ -4,6 +4,9 @@
export function login(username, password, code, uuid) {
  return request({
    url: '/auth/login',
    headers: {
      isToken: false
    },
    method: 'post',
    data: { username, password, code, uuid }
  })
@@ -49,6 +52,10 @@
export function getCodeImg() {
  return request({
    url: '/code',
    method: 'get'
    headers: {
      isToken: false
    },
    method: 'get',
    timeout: 20000
  })
}