From 3d8bff94da257d3f429373297975c33b1b7ce28c Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期三, 09 十月 2024 20:58:37 +0800
Subject: [PATCH] 修改了对应的代码

---
 ruoyi-ui/src/api/root/index.js |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/ruoyi-ui/src/api/root/index.js b/ruoyi-ui/src/api/root/index.js
index 4885e99..d245238 100644
--- a/ruoyi-ui/src/api/root/index.js
+++ b/ruoyi-ui/src/api/root/index.js
@@ -1,11 +1,12 @@
 import request from '@/utils/request'
 
 // 鑾峰彇瀹舵牴缃�
-export function listRoot(query) {
+export function listRoot(depth,clanId) {
+ // alert(3)
   return request({
-    url: '/self/user/root',
+    url: '/self/user/root?depth='+depth+'&clanId='+clanId,
     method: 'get',
-    params: query
+    // params: query
   })
 }
 
@@ -27,11 +28,24 @@
   })
 }
 
-// 鑾峰彇瀹舵牴缃�
+// 鑾峰彇瀹惰氨
 export function listUserAll(query) {
+
+  return request({
+    url: '/self/user/list/genealogy',
+    method: 'get',
+    params: query
+  })
+}
+
+// 鑾峰彇鎵�鏈夌敤鎴�
+export function listRootAll(query) {
+
   return request({
     url: '/self/user/all',
     method: 'get',
     params: query
   })
 }
+
+

--
Gitblit v1.9.1