From 4517dea98de7b4c748df7e1b4752249bc1d1f79a Mon Sep 17 00:00:00 2001
From: 也曾为你、像超人 <1553592282@qq.com>
Date: Sat, 22 Oct 2022 07:24:35 +0800
Subject: [PATCH] 重置时取消部门选中
---
ruoyi-ui/src/api/login.js | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js
index 9971357..26742e7 100644
--- a/ruoyi-ui/src/api/login.js
+++ b/ruoyi-ui/src/api/login.js
@@ -10,6 +10,21 @@
}
return request({
url: '/login',
+ headers: {
+ isToken: false
+ },
+ method: 'post',
+ data: data
+ })
+}
+
+// 注册方法
+export function register(data) {
+ return request({
+ url: '/register',
+ headers: {
+ isToken: false
+ },
method: 'post',
data: data
})
@@ -35,6 +50,10 @@
export function getCodeImg() {
return request({
url: '/captchaImage',
- method: 'get'
+ headers: {
+ isToken: false
+ },
+ method: 'get',
+ timeout: 20000
})
}
\ No newline at end of file
--
Gitblit v1.9.2