mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-07 15:45:08 +08:00
修复滑块验证码,存在失败的情况
This commit is contained in:
@ -9,7 +9,7 @@ import request from './../utils/axios' //组件内部封装的axios
|
||||
export function reqGet(data) {
|
||||
return request({
|
||||
// url: '/captcha/get',
|
||||
url: '/admin-api/captcha/get', // 使用项目自定义的 /admin-api/ 前缀
|
||||
url: '/admin-api/system/captcha/get', // 使用项目自定义的 /admin-api/ 前缀
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@ -19,7 +19,7 @@ export function reqGet(data) {
|
||||
export function reqCheck(data) {
|
||||
return request({
|
||||
// url: '/captcha/check',
|
||||
url: '/admin-api/captcha/check', // 使用项目自定义的 /admin-api/ 前缀
|
||||
url: '/admin-api/system/captcha/check', // 使用项目自定义的 /admin-api/ 前缀
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
Reference in New Issue
Block a user