1. 修正多语言key错误
This commit is contained in:
parent
772df51023
commit
0c84a7a61f
|
@ -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包含未校验通过项
|
||||||
|
|
Loading…
Reference in New Issue