1. 修正多语言key错误

This commit is contained in:
黄昕 2024-04-09 14:58:41 +08:00
parent 772df51023
commit 0c84a7a61f
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ public class PermissionManagerApi {
*/ */
@GetMapping("resourcePermission") @GetMapping("resourcePermission")
@EncryptionProtocol @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<? extends BaseRespStatus> getCurrentUserResourcePermission() { public ProtocolResp<? extends BaseRespStatus> getCurrentUserResourcePermission() {
AuthAccountUser au = authUsersService.getAuthAccountByUserName(ApiContextUtils.get().getUsername()); AuthAccountUser au = authUsersService.getAuthAccountByUserName(ApiContextUtils.get().getUsername());
@ -86,7 +86,7 @@ public class PermissionManagerApi {
@PostMapping("resourcePermission") @PostMapping("resourcePermission")
@EncryptionProtocol @EncryptionProtocol
@DecryptionProtocol @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<? extends BaseRespStatus> getUserResourcePermission(@RequestBody ProtocolReq<UserIdReq> mr) { public ProtocolResp<? extends BaseRespStatus> getUserResourcePermission(@RequestBody ProtocolReq<UserIdReq> mr) {
List<String> validate = HelperUtils.validate(mr, ValidGroups.ProtocolCommonValid.class, ValidGroups.OperationLogReqValid.class); List<String> validate = HelperUtils.validate(mr, ValidGroups.ProtocolCommonValid.class, ValidGroups.OperationLogReqValid.class);
// 如果校验通过validate为空否则validate包含未校验通过项 // 如果校验通过validate为空否则validate包含未校验通过项