From ab6b8942e537d7a812a424347d0d3c63399ee63f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Tue, 30 Aug 2022 20:46:01 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E8=A1=A5?= =?UTF-8?q?=E5=85=A8=E7=BC=BA=E5=A4=B1=E7=9A=84=E6=8E=A5=E5=8F=A3=20?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=9B=B4=E6=96=B0=E6=97=A5=E5=BF=97=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/package.json | 2 +- ruoyi-ui/src/api/login.js | 12 ++++++++++++ ruoyi-ui/src/views/index.vue | 9 --------- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 2a1d7169..1e69cd89 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -32,7 +32,7 @@ ], "repository": { "type": "git", - "url": "https://gitee.com/y_project/RuoYi-Cloud.git" + "url": "https://gitee.com/JavaLionLi/RuoYi-Cloud-Plus.git" }, "dependencies": { "@riophae/vue-treeselect": "0.4.0", diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js index b7506e47..c3c8c2ef 100644 --- a/ruoyi-ui/src/api/login.js +++ b/ruoyi-ui/src/api/login.js @@ -12,6 +12,18 @@ export function login(username, password, code, uuid) { }) } +// 注册方法 +export function register(data) { + return request({ + url: '/auth/register', + headers: { + isToken: false + }, + method: 'post', + data: data + }) +} + // 刷新方法 export function refreshToken() { return request({ diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue index e351d8c3..cdba7bc9 100644 --- a/ruoyi-ui/src/views/index.vue +++ b/ruoyi-ui/src/views/index.vue @@ -135,15 +135,6 @@ - - -
- 更新日志 -
- - -
-