Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
3ae5ec92
Commit
3ae5ec92
authored
Nov 01, 2021
by
RuoYi
Browse files
登录/验证码请求headers不设置token
parent
2fe919b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/api/login.js
View file @
3ae5ec92
...
...
@@ -10,6 +10,9 @@ export function login(username, password, code, uuid) {
}
return
request
({
url
:
'
/login
'
,
headers
:
{
isToken
:
false
},
method
:
'
post
'
,
data
:
data
})
...
...
@@ -47,6 +50,9 @@ export function logout() {
export
function
getCodeImg
()
{
return
request
({
url
:
'
/captchaImage
'
,
headers
:
{
isToken
:
false
},
method
:
'
get
'
,
timeout
:
20000
})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment