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

2. 重新构建 demo 预览项目
This commit is contained in:
YunaiV
2022-11-11 20:02:11 +08:00
parent fb237423b8
commit 93b8a2b6c1
81 changed files with 17106 additions and 15029 deletions

View File

@ -8,7 +8,8 @@ import request from './../utils/axios' //组件内部封装的axios
//获取验证图片 以及token
export function reqGet(data) {
return request({
url: '/captcha/get',
// url: '/captcha/get',
url: '/admin-api/captcha/get', // 使用项目自定义的 /admin-api/ 前缀
method: 'post',
data
})
@ -17,7 +18,8 @@ export function reqGet(data) {
//滑动或者点选验证
export function reqCheck(data) {
return request({
url: '/captcha/check',
// url: '/captcha/check',
url: '/admin-api/captcha/check', // 使用项目自定义的 /admin-api/ 前缀
method: 'post',
data
})