mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-12 18:15:07 +08:00
1. 修复滑块验证码,存在失败的情况
2. 重新构建 demo 预览项目
This commit is contained in:
@ -32,29 +32,3 @@ export function logout() {
|
||||
'method': 'POST'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取验证码
|
||||
export function getCaptcha(data) {
|
||||
return request({
|
||||
url: '/captcha/get',
|
||||
headers: {
|
||||
isToken: false,
|
||||
isTenant: false
|
||||
},
|
||||
method: 'POST',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
||||
// 验证验证码
|
||||
export function checkCaptcha(data) {
|
||||
return request({
|
||||
url: '/captcha/check',
|
||||
headers: {
|
||||
isToken: false,
|
||||
isTenant: false
|
||||
},
|
||||
method: 'POST',
|
||||
'data': data
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user