From 2fbf3247052e795dfbc3a30a02ce704dc5488c7a Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 24 May 2024 08:41:32 +0800
Subject: [PATCH] E呼即办页面优化
---
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