From 5e2ebcceae4bc34b46370f2c10110cd72e7f4fba Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期四, 22 八月 2024 10:59:29 +0800
Subject: [PATCH] 修改权限相关

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZInfoUserController.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZInfoUserController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZInfoUserController.java
index b904ad3..b2ba6e9 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZInfoUserController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZInfoUserController.java
@@ -292,16 +292,16 @@
      * 瀹舵牴缃�
      */
     @GetMapping("/root")
-    public AjaxResult listAllPeopleWithTree(@PathParam("depth") Integer depth){
-        return zInfoUserService.listWithTree(depth);
+    public AjaxResult listAllPeopleWithTree(@PathParam("depth") Integer depth,@PathParam("clanId") Integer clanId){
+        return zInfoUserService.listWithTree(depth, clanId);
     }
     /**
      * 鏍规嵁瀹跺涵鎴愬憳鎵惧埌鎵�鏈変汉
      */
     @GetMapping("/allFamInfo")
-        public AjaxResult listAllFamilyPeople()
+        public AjaxResult listAllFamilyPeople(@PathParam("clanId") Integer clanId)
         {
-            return zInfoUserService.listAllFamilyPeople();
+            return zInfoUserService.listAllFamilyPeople(clanId);
         }
 
     /**

--
Gitblit v1.9.1