Skip to content

Commit e239b1b

Browse files
committed
修复滑块验证码,存在失败的情况
1 parent e08346f commit e239b1b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/verifition/verifyPoint/verifyPoint.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
}
143143
myRequest({
144144
// url: `/captcha/check`,
145-
url: '/admin-api/captcha/check', // 使用项目自定义的 /admin-api/ 前缀
145+
url: '/admin-api/system/captcha/check', // 使用项目自定义的 /admin-api/ 前缀
146146
data,
147147
method:"POST",
148148
}).then(result => {
@@ -213,7 +213,7 @@
213213
}
214214
myRequest({
215215
// url: "/captcha/get", //仅为示例,并非真实接口地址。
216-
url: '/admin-api/captcha/get', // 使用项目自定义的 /admin-api/ 前缀
216+
url: '/admin-api/system/captcha/get', // 使用项目自定义的 /admin-api/ 前缀
217217
data,
218218
method:"POST",
219219
}).then((result) => {

components/verifition/verifySlider/verifySlider.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
}
232232
myRequest({
233233
// url: `/captcha/check`,
234-
url: '/admin-api/captcha/check', // 使用项目自定义的 /admin-api/ 前缀
234+
url: '/admin-api/system/captcha/check', // 使用项目自定义的 /admin-api/ 前缀
235235
data,
236236
method: "POST",
237237
}).then((result) => {
@@ -319,7 +319,7 @@
319319
}
320320
myRequest({
321321
// url: '/captcha/get', //仅为示例,并非真实接口地址。
322-
url: '/admin-api/captcha/get', // 使用项目自定义的 /admin-api/ 前缀
322+
url: '/admin-api/system/captcha/get', // 使用项目自定义的 /admin-api/ 前缀
323323
data,
324324
method: "POST",
325325
}).then((result) => {

0 commit comments

Comments
 (0)