提交 e1659015 编写于 作者: R RuoYi

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

上级 3187b1c4
......@@ -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
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册