From 65ca15721e294ea6f91e4c18fdcbcca5affe7d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Thu, 21 Mar 2024 09:58:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=B3=A8=E5=86=8C=20=20?= =?UTF-8?q?=E5=AE=8F=E5=93=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/home.js | 11 +++ src/api/user.js | 14 +++- src/views/home.vue | 71 ++++++++++++++++- src/views/login/login.vue | 4 +- src/views/register/register.vue | 134 +++++++++++++++++--------------- 5 files changed, 169 insertions(+), 65 deletions(-) diff --git a/src/api/home.js b/src/api/home.js index 55c2a20..42a1d29 100644 --- a/src/api/home.js +++ b/src/api/home.js @@ -94,5 +94,16 @@ export function unread(params) { params }); } +/** + * 身份证姓名认证 + * @returns + */ +export function agentidcardoauth(data) { + return request({ + method: "POST", + url: "/agent/idcardoauth", + data + }); +} diff --git a/src/api/user.js b/src/api/user.js index 71d021a..20a27ab 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -28,7 +28,7 @@ export function getNotices(params) { } /** - * 注册 + * 代理商注册 * @param {*} data * @returns */ @@ -39,3 +39,15 @@ export function register(data) { data }) } +/** + * 发送验证码 + * @param {*} data + * @returns + */ +export function agentsendsms(data) { + return request({ + method: 'post', + url: '/agent/sendsms', + data + }) +} diff --git a/src/views/home.vue b/src/views/home.vue index aced9be..4f3a2ca 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -63,15 +63,84 @@
+ + + + + + + + + + + 确认 + + + + - + - \ No newline at end of file + \ No newline at end of file