From ef05f1416c204098f003c3f4c3861354d18cd503 Mon Sep 17 00:00:00 2001
From: 张钢 <floatgang@163.com>
Date: 星期六, 24 八月 2024 13:48:35 +0800
Subject: [PATCH] Merge branch 'master' of http://47.93.189.255:8099/r/zhangshi_app_web
---
ruoyi-ui/src/api/root/index.js | 22 +++++++++++++++++-----
1 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/ruoyi-ui/src/api/root/index.js b/ruoyi-ui/src/api/root/index.js
index 4262e56..d245238 100644
--- a/ruoyi-ui/src/api/root/index.js
+++ b/ruoyi-ui/src/api/root/index.js
@@ -1,12 +1,12 @@
import request from '@/utils/request'
// 鑾峰彇瀹舵牴缃�
-export function listRoot(query) {
+export function listRoot(depth,clanId) {
// alert(3)
return request({
- url: '/self/user/root?depth='+query,
+ url: '/self/user/root?depth='+depth+'&clanId='+clanId,
method: 'get',
- // params: query
+ // params: query
})
}
@@ -28,12 +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