We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f74c71 commit 57908daCopy full SHA for 57908da
src/components/Verifition/api/index.js
@@ -8,7 +8,8 @@ import request from './../utils/axios' // 组件内部封装的axios
8
// 获取验证图片 以及token
9
export function reqGet(data) {
10
return request({
11
- url: '/captcha/get',
+ // url: '/captcha/get',
12
+ url: '/admin-api/captcha/get', // 使用项目自定义的 /admin-api/ 前缀
13
method: 'post',
14
data
15
})
@@ -17,7 +18,8 @@ export function reqGet(data) {
17
18
// 滑动或者点选验证
19
export function reqCheck(data) {
20
- url: '/captcha/check',
21
+ // url: '/captcha/check',
22
+ url: '/admin-api/captcha/check', // 使用项目自定义的 /admin-api/ 前缀
23
24
25
0 commit comments