From 7cef46a5e85fc015463ae1a0aa65efee689a8dcc Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 03 Jan 2024 09:35:46 +0800
Subject: [PATCH] 场所管理,位置相关调整

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

diff --git a/src/api/user.js b/src/api/user.js
index 5775d8a..f51bd4d 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -8,14 +8,14 @@
     '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
   }

--
Gitblit v1.9.3