From 5e2aafeede13d337380f736567caf74f49713be7 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:38:32 +0800
Subject: [PATCH] 代码优化
---
src/api/user.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/api/user.js b/src/api/user.js
index 5775d8a..297ccf4 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -15,9 +15,11 @@
tenantId,
username,
password,
- grant_type: (website.captchaMode ? "captcha" : "password"),
+ grant_type: "captcha",
scope: "all",
- type
+ type,
+ // 查全部-暂定
+ loginType: 1
}
});
@@ -112,4 +114,4 @@
url: '/api/blade-auth/oauth/clear-cache',
method: 'get',
authorization: false
-});
+});
\ No newline at end of file
--
Gitblit v1.9.3