‘linchangsheng’ 9 hónapja
szülő
commit
320cf00e43

+ 2 - 2
mall-server-api/src/main/java/com/gree/mall/manager/logic/admin/AdminDeptLogic.java

@@ -55,10 +55,10 @@ public class AdminDeptLogic {
 
     public List<AdminDeptTree> tree(HttpServletRequest request) {
 
-        AdminUserCom adminUser = commonLogic.getAdminUser(request);
+
 
         List<AdminDept> list = adminDeptService.lambdaQuery()
-                .eq(AdminDept::getAdminDeptId,adminUser.getAdminDept().getAdminDeptId())
+                .eq(AdminDept::getAdminDeptId,"1")
                 .list();
         List<AdminDeptTree> trees = new ArrayList<>();
         for(AdminDept adminDept : list){