RuoYi
2022-11-14 6e5d7a6dab441eaa6d4ebca8cb8fc6fb2919d4e2
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
  })
}