Przeglądaj źródła

update 优化 补全缺失的接口 更改更新日志链接

疯狂的狮子li 3 lat temu
rodzic
commit
ab6b8942e5
3 zmienionych plików z 13 dodań i 10 usunięć
  1. 1 1
      ruoyi-ui/package.json
  2. 12 0
      ruoyi-ui/src/api/login.js
  3. 0 9
      ruoyi-ui/src/views/index.vue

+ 1 - 1
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",

+ 12 - 0
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({

+ 0 - 9
ruoyi-ui/src/views/index.vue

@@ -135,15 +135,6 @@
           </div>
         </el-card>
       </el-col>
-      <el-col :xs="24" :sm="24" :md="12" :lg="8">
-        <el-card class="update-log">
-          <div slot="header" class="clearfix">
-            <span>更新日志</span>
-          </div>
-          <el-collapse accordion>
-          </el-collapse>
-        </el-card>
-      </el-col>
     </el-row>
   </div>
 </template>