From 0082fa417fb2af9add3406bf05ab3e3e45890c34 Mon Sep 17 00:00:00 2001
From: rain <1679827795@qq.com>
Date: Thu, 12 Jun 2025 14:30:02 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/drone-web-manage

---
 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