zhouhao 8 lat temu
rodzic
commit
c1b02f8ab0

+ 4 - 2
hsweb-system/hsweb-system-authorization/hsweb-system-authorization-controller/src/main/java/org/hswebframework/web/controller/authorization/PermissionController.java

@@ -21,7 +21,7 @@ package org.hswebframework.web.controller.authorization;
 import io.swagger.annotations.Api;
 import org.hswebframework.web.authorization.annotation.Authorize;
 import org.hswebframework.web.commons.entity.param.QueryParamEntity;
-import org.hswebframework.web.controller.GenericEntityController;
+import org.hswebframework.web.controller.SimpleGenericEntityController;
 import org.hswebframework.web.entity.authorization.PermissionEntity;
 import org.hswebframework.web.logging.AccessLogger;
 import org.hswebframework.web.service.authorization.PermissionService;
@@ -30,6 +30,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
 /**
+ * 权限管理
+ *
  * @author zhouhao
  */
 @RestController
@@ -37,7 +39,7 @@ import org.springframework.web.bind.annotation.RestController;
 @AccessLogger("{permission_manager}")
 @Authorize(permission = "permission")
 @Api(tags = "permission-manager", description = "权限管理")
-public class PermissionController implements GenericEntityController<PermissionEntity, String, QueryParamEntity, PermissionEntity> {
+public class PermissionController implements SimpleGenericEntityController<PermissionEntity, String, QueryParamEntity> {
 
     private PermissionService permissionService;