diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/common/exception/JeecgBootExceptionHandler.java b/jeecg-boot-base-core/src/main/java/org/jeecg/common/exception/JeecgBootExceptionHandler.java index 7f2e4586..b71d7b5a 100644 --- a/jeecg-boot-base-core/src/main/java/org/jeecg/common/exception/JeecgBootExceptionHandler.java +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/common/exception/JeecgBootExceptionHandler.java @@ -104,7 +104,7 @@ public class JeecgBootExceptionHandler { @ExceptionHandler({UnauthorizedException.class, AuthorizationException.class}) public Result handleAuthorizationException(AuthorizationException e){ log.error(e.getMessage(), e); - return Result.noauth("没有权限,请管理员授权后,刷新用户缓存或退出重新登录!"); + return Result.noauth("没有权限,请联系管理员授权,后刷新缓存!"); } @ExceptionHandler(Exception.class) diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/CommonController.java b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/CommonController.java index 81bc201e..f333308d 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/CommonController.java +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/CommonController.java @@ -51,7 +51,7 @@ public class CommonController { */ @GetMapping("/403") public Result noauth() { - return Result.error("没有权限,请管理员授权后,刷新用户缓存或退出重新登录!"); + return Result.error("没有权限,请联系管理员授权,后刷新缓存!"); } /**