From dc5c26bba870e2c8ab3b01ac1da8bf619c706bfe Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Mon, 22 Apr 2024 15:52:24 +0800
Subject: [PATCH] 用户登录修改

---
 src/api/user.js |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/api/user.js b/src/api/user.js
index 5775d8a..0b31017 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -8,16 +8,18 @@
     'Tenant-Id': tenantId,
     'Dept-Id': (website.switchMode ? deptId : ''),
     'Role-Id': (website.switchMode ? roleId : ''),
-    'Captcha-Key': key,
-    'Captcha-Code': code,
+    // 'Captcha-Key': key,
+    // 'Captcha-Code': code,
   },
   params: {
     tenantId,
     username,
     password,
-    grant_type: (website.captchaMode ? "captcha" : "password"),
+    grant_type:"password",
     scope: "all",
-    type
+    type,
+    // 查全部-暂定
+    loginType:1
   }
 });
 

--
Gitblit v1.9.3