From 39abebc6d54083556a393441e0628bc3d93b46c7 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 25 Oct 2025 13:54:01 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/feature/v7.0/7.0.2' into feature/v7.0/7.0.2

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

diff --git a/src/api/user.js b/src/api/user.js
index 83dd50f..37d8f12 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -17,7 +17,7 @@
       tenantId,
       username,
       password,
-      grant_type: website.captchaMode ? 'captcha' : 'password',
+      grant_type: 'password',
       scope: 'all',
       type,
     },
@@ -171,3 +171,10 @@
       phone,
     },
   });
+
+export const getParentDeptInfo = params =>
+  request({
+    url: '/blade-system/dept/getParentDeptInfo',
+    method: 'get',
+    params: params,
+  });

--
Gitblit v1.9.3