瀏覽代碼

更新!

TRX 1 年之前
父節點
當前提交
0bf824cef5

+ 7 - 3
FullCardServer/src/main/java/com/zhongshu/card/server/core/controller/orgManager/AreaController.java

@@ -39,12 +39,16 @@ public class AreaController {
         return this.areaService.addArea(param);
     }
 
-    @ResourceAuth(value = "areaManager", type = AuthType.Platform, remark = "区域管理_区域列表_1_Menu")
-    @ResourceAuth(value = "areaManager", type = AuthType.Project, remark = "区域管理_区域列表_1_Menu")
-    @ResourceAuth(value = "areaManager", type = AuthType.School, remark = "区域管理_区域列表_1_Menu")
+    @ResourceAuth(value = "areaManager", type = AuthType.Platform, remark = "区域管理_区域列表_160_Menu")
+    @ResourceAuth(value = "areaManager", type = AuthType.Project, remark = "区域管理_区域列表_160_Menu")
+    @ResourceAuth(value = "areaManager", type = AuthType.School, remark = "区域管理_区域列表_160_Menu")
+    @ResourceAuth(value = "areaManager", type = AuthType.BusinessMain, remark = "区域管理_区域列表_160_Menu")
+    @ResourceAuth(value = "areaManager", type = AuthType.CommonOrg, remark = "区域管理_区域列表_160_Menu")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
     @ResourceAuth(value = AuthConstant.Admin, type = AuthType.Project, remark = "")
     @ResourceAuth(value = AuthConstant.Admin, type = AuthType.School, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.BusinessMain, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.CommonOrg, remark = "")
     @ResourceAuth(value = "user", type = AuthType.User)
     @Operation(summary = "得到机构区域树-通用", description = "得到机构区域树")
     @RequestMapping(value = "getManagerAreaTree", method = {RequestMethod.POST})

+ 0 - 10
FullCardServer/src/main/java/com/zhongshu/card/server/core/controller/school/DictInfoController.java

@@ -36,16 +36,6 @@ public class DictInfoController {
     @Autowired
     DictInfoService dictInfoService;
 
-    @ResourceAuth(value = "areaPageManager", type = AuthType.Platform, remark = "区域管理_区域列表_160_Menu")
-    @ResourceAuth(value = "areaPageManager", type = AuthType.Project, remark = "区域管理_区域列表_160_Menu")
-    @ResourceAuth(value = "areaPageManager", type = AuthType.School, remark = "区域管理_区域列表_160_Menu")
-    @ResourceAuth(value = "areaPageManager", type = AuthType.BusinessMain, remark = "区域管理_区域列表_160_Menu")
-    @ResourceAuth(value = "areaPageManager", type = AuthType.CommonOrg, remark = "区域管理_区域列表_160_Menu")
-    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
-    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.Project, remark = "")
-    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.BusinessMain, remark = "")
-    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.School, remark = "")
-    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.CommonOrg, remark = "")
     @ResourceAuth(value = "user", type = AuthType.User)
     @Operation(summary = "区域列表-分页查询", description = "区域列表-分页查询")
     @RequestMapping(value = {"areaPageManager"}, method = {RequestMethod.POST})