From 06a17c236d4cb9b8da75fce43af938cb7ea510bf Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期一, 15 十二月 2025 09:50:12 +0800
Subject: [PATCH] feat: 优化企业微信判断,优化gps分断处理

---
 app/api/system/user.js |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/app/api/system/user.js b/app/api/system/user.js
index 421afa0..8ea2b48 100644
--- a/app/api/system/user.js
+++ b/app/api/system/user.js
@@ -40,7 +40,7 @@
   })
 }
 
-// 鏌ヨ鐢ㄦ埛鍒楄〃
+// 鏌ヨ鐢ㄦ埛鍒楄〃锛堝悗鍙扮鐞嗙敤锛�
 export function listUser(query) {
   return request({
     url: '/system/user/list',
@@ -48,3 +48,23 @@
     params: query
   })
 }
+
+// 鏌ヨ褰撳墠鐢ㄦ埛绠$悊鐨勫垎鍏徃涓嬬殑鎵�鏈夌敤鎴凤紙灏忕▼搴忕涓撶敤锛�
+export function listBranchUsers() {
+  return request({
+    url: '/system/user/branch/users',
+    method: 'get'
+  })
+}
+
+// 鏍规嵁鍒嗗叕鍙窱D鍒楄〃鏌ヨ鐢ㄦ埛锛堝皬绋嬪簭绔笓鐢級
+// 鏍规嵁鍒嗗叕鍙窱D鏁扮粍鏌ヨ鐢ㄦ埛(POST鏂瑰紡)
+export function listUsersByBranchDepts(branchDeptIds) {
+  return request({
+    url: '/system/user/branch/users',
+    method: 'post',
+    data: {
+      branchDeptIds
+    }
+  })
+}

--
Gitblit v1.9.1