TRX 1 рік тому
батько
коміт
1bf366ff20

+ 43 - 21
FullCardServer/src/main/java/com/zhongshu/card/server/core/controller/tempMenus/PlatformMenuController.java

@@ -4,11 +4,8 @@ import com.github.microservice.auth.client.constant.AuthConstant;
 import com.github.microservice.auth.security.annotations.ResourceAuth;
 import com.github.microservice.auth.security.type.AuthType;
 import com.github.microservice.net.ResultContent;
-import com.zhongshu.card.server.core.service.TestService;
 import io.swagger.v3.oas.annotations.Hidden;
-import io.swagger.v3.oas.annotations.Operation;
 import io.swagger.v3.oas.annotations.tags.Tag;
-import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RestController;
@@ -19,15 +16,15 @@ import org.springframework.web.bind.annotation.RestController;
 @Hidden
 public class PlatformMenuController {
 
-    @ResourceAuth(value = "platMainManager", type = AuthType.Platform, remark = "主控台_主控台_1_Menu")
-    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
-    @ResourceAuth(value = "user", type = AuthType.User)
-    @RequestMapping(value = "platMainManager", method = {RequestMethod.GET})
-    public ResultContent platMainManager() {
-        return ResultContent.buildSuccess();
-    }
+//    @ResourceAuth(value = "platMainManager", type = AuthType.Platform, remark = "主控台_主控台_1_Menu")
+//    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
+//    @ResourceAuth(value = "user", type = AuthType.User)
+//    @RequestMapping(value = "platMainManager", method = {RequestMethod.GET})
+//    public ResultContent platMainManager() {
+//        return ResultContent.buildSuccess();
+//    }
 
-    @ResourceAuth(value = "platProjectManager", type = AuthType.Platform, remark = "园区项目管理_园区管理_1_Menu")
+    @ResourceAuth(value = "platProjectManager", type = AuthType.Platform, remark = "园区项目管理_项目列表_1_Menu")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
     @ResourceAuth(value = "user", type = AuthType.User)
     @RequestMapping(value = "platProjectManager", method = {RequestMethod.GET})
@@ -35,7 +32,7 @@ public class PlatformMenuController {
         return ResultContent.buildSuccess();
     }
 
-    @ResourceAuth(value = "platOrgManager", type = AuthType.Platform, remark = "机构管理_机构列表_1_Menu")
+    @ResourceAuth(value = "platOrgManager", type = AuthType.Platform, remark = "机构管理_机构列表_2_Menu")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
     @ResourceAuth(value = "user", type = AuthType.User)
     @RequestMapping(value = "platOrgManager", method = {RequestMethod.GET})
@@ -43,7 +40,7 @@ public class PlatformMenuController {
         return ResultContent.buildSuccess();
     }
 
-    @ResourceAuth(value = "platUserManager", type = AuthType.Platform, remark = "用户管理_用户列表_1_Menu")
+    @ResourceAuth(value = "platUserManager", type = AuthType.Platform, remark = "用户管理_用户列表_3_Menu")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
     @ResourceAuth(value = "user", type = AuthType.User)
     @RequestMapping(value = "platUserManager", method = {RequestMethod.GET})
@@ -51,23 +48,40 @@ public class PlatformMenuController {
         return ResultContent.buildSuccess();
     }
 
-    @ResourceAuth(value = "platRoleManager", type = AuthType.Platform, remark = "权限管理_角色权限_1_Menu")
+    @ResourceAuth(value = "openAPIAppManager", type = AuthType.Platform, remark = "OpenAPI_应用管理_4_Menu")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
     @ResourceAuth(value = "user", type = AuthType.User)
-    @RequestMapping(value = "platRoleManager", method = {RequestMethod.GET})
-    public ResultContent platRoleManager() {
+    @RequestMapping(value = "openAPIAppManager", method = {RequestMethod.GET})
+    public ResultContent openAPIAppManager() {
+        return ResultContent.buildSuccess();
+    }
+
+    @ResourceAuth(value = "openAPIInterface", type = AuthType.Platform, remark = "OpenAPI_接口管理_5_Menu")
+    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
+    @ResourceAuth(value = "user", type = AuthType.User)
+    @RequestMapping(value = "openAPIInterface", method = {RequestMethod.GET})
+    public ResultContent openAPIInterface() {
+        return ResultContent.buildSuccess();
+    }
+
+    @ResourceAuth(value = "openAPILog", type = AuthType.Platform, remark = "OpenAPI_日志管理_6_Menu")
+    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
+    @ResourceAuth(value = "user", type = AuthType.User)
+    @RequestMapping(value = "openAPILog", method = {RequestMethod.GET})
+    public ResultContent openAPILog() {
         return ResultContent.buildSuccess();
     }
 
-    @ResourceAuth(value = "platMenuManager", type = AuthType.Platform, remark = "权限管理_菜单权限_2_Menu")
+
+    @ResourceAuth(value = "platRoleManager", type = AuthType.Platform, remark = "权限管理_角色权限_7_Menu")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
     @ResourceAuth(value = "user", type = AuthType.User)
-    @RequestMapping(value = "platMenuManager", method = {RequestMethod.GET})
-    public ResultContent platMenuManager() {
+    @RequestMapping(value = "platRoleManager", method = {RequestMethod.GET})
+    public ResultContent platRoleManager() {
         return ResultContent.buildSuccess();
     }
 
-    @ResourceAuth(value = "platPayManager", type = AuthType.Platform, remark = "支付管理_支付管理_1_Menu")
+    @ResourceAuth(value = "platPayManager", type = AuthType.Platform, remark = "支付管理_支付管理_8_Menu")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
     @ResourceAuth(value = "user", type = AuthType.User)
     @RequestMapping(value = "platPayManager", method = {RequestMethod.GET})
@@ -75,7 +89,7 @@ public class PlatformMenuController {
         return ResultContent.buildSuccess();
     }
 
-    @ResourceAuth(value = "platSettingManager", type = AuthType.Platform, remark = "系统设置_系统设置_1_Menu")
+    @ResourceAuth(value = "platSettingManager", type = AuthType.Platform, remark = "系统设置_平台基本信息_9_Menu")
     @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
     @ResourceAuth(value = "user", type = AuthType.User)
     @RequestMapping(value = "platSettingManager", method = {RequestMethod.GET})
@@ -83,4 +97,12 @@ public class PlatformMenuController {
         return ResultContent.buildSuccess();
     }
 
+    @ResourceAuth(value = "platSettingPlatform", type = AuthType.Platform, remark = "系统设置_模板配置_10_Menu")
+    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
+    @ResourceAuth(value = "user", type = AuthType.User)
+    @RequestMapping(value = "platSettingPlatform", method = {RequestMethod.GET})
+    public ResultContent platSettingPlatform() {
+        return ResultContent.buildSuccess();
+    }
+
 }