From d44945f6885a3ba4b1d860281eaf84f13a987a70 Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Thu, 20 Jun 2024 19:34:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=AF=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/jeecg/common/exception/JeecgBootExceptionHandler.java | 2 +- .../org/jeecg/modules/system/controller/CommonController.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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("没有权限,请联系管理员授权,后刷新缓存!"); } /**