RuoYi
2024-12-25 b45dc2ec25f5bf7cc599a4ccc950e05bda3c5c12
ruoyi-ui/src/api/login.js
@@ -4,6 +4,10 @@
export function login(username, password, code, uuid) {
  return request({
    url: '/auth/login',
    headers: {
      isToken: false,
      repeatSubmit: false
    },
    method: 'post',
    data: { username, password, code, uuid }
  })
@@ -49,6 +53,9 @@
export function getCodeImg() {
  return request({
    url: '/code',
    headers: {
      isToken: false
    },
    method: 'get',
    timeout: 20000
  })