mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-07 23:55:07 +08:00
1. 修复滑块验证码,存在失败的情况
2. 重新构建 demo 预览项目
This commit is contained in:
@ -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
|
||||
})
|
||||
|
Reference in New Issue
Block a user