RuoYi
2023-01-12 8b5acaf341fc6dafc3e0a85ecdbcc00a972ebff6
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
  })
}