RuoYi
2022-08-08 c8a108b93ad9af598d16df4640722cbe9cb57a42
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
  })
}