From 0c84a7a61f7b5b3e174d258810dd1df18d6d1781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=98=95?= Date: Tue, 9 Apr 2024 14:58:41 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E6=AD=A3=E5=A4=9A=E8=AF=AD?= =?UTF-8?q?=E8=A8=80key=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/cf/cs/restful/controller/PermissionManagerApi.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cs-restful/src/main/java/com/cf/cs/restful/controller/PermissionManagerApi.java b/cs-restful/src/main/java/com/cf/cs/restful/controller/PermissionManagerApi.java index c42522d..6eae5f5 100644 --- a/cs-restful/src/main/java/com/cf/cs/restful/controller/PermissionManagerApi.java +++ b/cs-restful/src/main/java/com/cf/cs/restful/controller/PermissionManagerApi.java @@ -62,7 +62,7 @@ public class PermissionManagerApi { */ @GetMapping("resourcePermission") @EncryptionProtocol - @OperationLogAnnotation(OperationModule = "SYSLOG_MOD_AUTH", OperationType = "SYSLOG_TYPE_READ", OperationDesc = "SYSLOG_DEC_GET_CUR_USR_RES_RIGHT") + @OperationLogAnnotation(OperationModule = "SYSLOG_MOD_AUTH", OperationType = "SYSLOG_TYPE_READ", OperationDesc = "SYSLOG_DESC_GET_CUR_USR_RES_RIGHT") public ProtocolResp getCurrentUserResourcePermission() { AuthAccountUser au = authUsersService.getAuthAccountByUserName(ApiContextUtils.get().getUsername()); @@ -86,7 +86,7 @@ public class PermissionManagerApi { @PostMapping("resourcePermission") @EncryptionProtocol @DecryptionProtocol - @OperationLogAnnotation(OperationModule = "SYSLOG_MOD_AUTH", OperationType = "SYSLOG_TYPE_READ", OperationDesc = "SYSLOG_DEC_GET_USR_RES_RIGHT") + @OperationLogAnnotation(OperationModule = "SYSLOG_MOD_AUTH", OperationType = "SYSLOG_TYPE_READ", OperationDesc = "SYSLOG_DESC_GET_USR_RES_RIGHT") public ProtocolResp getUserResourcePermission(@RequestBody ProtocolReq mr) { List validate = HelperUtils.validate(mr, ValidGroups.ProtocolCommonValid.class, ValidGroups.OperationLogReqValid.class); // 如果校验通过,validate为空;否则,validate包含未校验通过项