‘linchangsheng’ 9 月之前
父節點
當前提交
320cf00e43
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mall-server-api/src/main/java/com/gree/mall/manager/logic/admin/AdminDeptLogic.java

+ 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){