From e27d169b72171cafb76bece4a2500e8e8fdd16bd Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Thu, 13 Jun 2024 10:39:27 +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