RuoYi
2025-06-19 ad988d54bbc8b4e65a49808e233c96c5952d0f2f
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
  })