mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-07 07:35:06 +08:00
1. 修复滑块验证码,存在失败的情况
2. 重新构建 demo 预览项目
This commit is contained in:
@ -230,8 +230,9 @@
|
||||
"token": this.backToken
|
||||
}
|
||||
myRequest({
|
||||
url: `/captcha/check`,
|
||||
data,
|
||||
// url: `/captcha/check`,
|
||||
url: '/admin-api/captcha/check', // 使用项目自定义的 /admin-api/ 前缀
|
||||
data,
|
||||
method: "POST",
|
||||
}).then((result) => {
|
||||
let res = result.data
|
||||
@ -317,7 +318,8 @@
|
||||
ts: Date.now(), // 现在的时间戳
|
||||
}
|
||||
myRequest({
|
||||
url: '/captcha/get', //仅为示例,并非真实接口地址。
|
||||
// url: '/captcha/get', //仅为示例,并非真实接口地址。
|
||||
url: '/admin-api/captcha/get', // 使用项目自定义的 /admin-api/ 前缀
|
||||
data,
|
||||
method: "POST",
|
||||
}).then((result) => {
|
||||
|
Reference in New Issue
Block a user