修复滑块验证码,存在失败的情况

This commit is contained in:
YunaiV
2022-11-11 20:47:45 +08:00
parent 93b8a2b6c1
commit 3fbb0b4c54
8 changed files with 16 additions and 13 deletions

View File

@ -142,7 +142,7 @@
}
myRequest({
// url: `/captcha/check`,
url: '/admin-api/captcha/check', // 使用项目自定义的 /admin-api/ 前缀
url: '/admin-api/system/captcha/check', // 使用项目自定义的 /admin-api/ 前缀
data,
method:"POST",
}).then(result => {
@ -213,7 +213,7 @@
}
myRequest({
// url: "/captcha/get", //仅为示例,并非真实接口地址。
url: '/admin-api/captcha/get', // 使用项目自定义的 /admin-api/ 前缀
url: '/admin-api/system/captcha/get', // 使用项目自定义的 /admin-api/ 前缀
data,
method:"POST",
}).then((result) => {