From 089bf5d2378b3c4a61d795b2a92bede2c193b771 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 11:22:58 +0800
Subject: [PATCH] 1
---
src/components/verifition/api/index.js | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/src/components/verifition/api/index.js b/src/components/verifition/api/index.js
new file mode 100644
index 0000000..f4b7fb1
--- /dev/null
+++ b/src/components/verifition/api/index.js
@@ -0,0 +1,24 @@
+/**
+ * 此处可直接引用自己项目封装好的 axios 配合后端联调
+ */
+
+import httpRequest from '@/utils/httpRequest'
+
+// 获取验证图片 以及token
+export function reqGet (data) {
+ return httpRequest({
+ url: httpRequest.adornUrl('/captcha/get'),
+ method: 'post',
+ data
+ })
+}
+
+// 滑动或者点选验证
+export function reqCheck (data) {
+ return httpRequest({
+ url: httpRequest.adornUrl('/captcha/check'),
+ method: 'post',
+ data
+ })
+}
+
--
Gitblit v1.9.3