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