登录/验证码请求headers不设置token

pull/116/head
RuoYi 3 years ago
parent 3187b1c46e
commit e165901506

@ -4,6 +4,9 @@ import request from '@/utils/request'
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,9 @@ export function logout() {
export function getCodeImg() {
return request({
url: '/code',
headers: {
isToken: false
},
method: 'get',
timeout: 20000
})

Loading…
Cancel
Save