From 3bbd80a63ac7728ac01b641a48a26befcb171a0f Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期一, 15 十二月 2025 07:19:21 +0800
Subject: [PATCH] feat:增加企业微信登录判断

---
 ruoyi-ui/src/api/system/dept.js |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/api/system/dept.js b/ruoyi-ui/src/api/system/dept.js
index fc943cd..7817d19 100644
--- a/ruoyi-ui/src/api/system/dept.js
+++ b/ruoyi-ui/src/api/system/dept.js
@@ -49,4 +49,20 @@
     url: '/system/dept/' + deptId,
     method: 'delete'
   })
-}
\ No newline at end of file
+}
+
+// 鎸夊綋鍓嶇櫥褰曠敤鎴风殑 OA 鏉冮檺杩斿洖鍒嗗叕鍙稿垪琛�
+export function listBranchByOa() {
+  return request({
+    url: '/system/dept/branch/by-oa',
+    method: 'get'
+  })
+}
+
+// 鎸夊閮ㄤ紶鍏ョ殑鐢ㄦ埛ID杩斿洖鍏跺彲绠$悊鍒嗗叕鍙稿垪琛�
+export function listBranchByUser(userId) {
+  return request({
+    url: '/system/dept/branch/by-user/' + userId,
+    method: 'get'
+  })
+}

--
Gitblit v1.9.1