From 1825d4a44b089230a6e1cd6286e788635b77c4e5 Mon Sep 17 00:00:00 2001 From: Echo <1711788888@qq.com> Date: Sat, 10 May 2025 08:23:51 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=20=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E6=96=B0=E5=A2=9E=E6=89=8B=E5=8A=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=94=A8=E6=88=B7=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user/index.js | 9 +++ src/view/notice/notice/notice.vue | 10 +-- src/view/user/user/index.vue | 109 +++++++++++++++++++++++++++++- 3 files changed, 122 insertions(+), 6 deletions(-) diff --git a/src/api/user/index.js b/src/api/user/index.js index a80edc0..f5675f8 100644 --- a/src/api/user/index.js +++ b/src/api/user/index.js @@ -29,3 +29,12 @@ export const getUserDetail = (id) => { method: 'get' }) } + +// 用户注册 +export const register = (data) => { + return service({ + url: '/app_user/register', + method: 'post', + data + }) +} diff --git a/src/view/notice/notice/notice.vue b/src/view/notice/notice/notice.vue index 3730c85..8c1df10 100644 --- a/src/view/notice/notice/notice.vue +++ b/src/view/notice/notice/notice.vue @@ -16,7 +16,7 @@ — - +