提示语修改

pull/6345/head
JEECG 2024-06-20 19:34:15 +08:00
parent f370855683
commit d44945f688
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ public class JeecgBootExceptionHandler {
@ExceptionHandler({UnauthorizedException.class, AuthorizationException.class}) @ExceptionHandler({UnauthorizedException.class, AuthorizationException.class})
public Result<?> handleAuthorizationException(AuthorizationException e){ public Result<?> handleAuthorizationException(AuthorizationException e){
log.error(e.getMessage(), e); log.error(e.getMessage(), e);
return Result.noauth("没有权限,请管理员授权,刷新用户缓存或退出重新登录!"); return Result.noauth("没有权限,请联系管理员授权,刷新缓存!");
} }
@ExceptionHandler(Exception.class) @ExceptionHandler(Exception.class)

View File

@ -51,7 +51,7 @@ public class CommonController {
*/ */
@GetMapping("/403") @GetMapping("/403")
public Result<?> noauth() { public Result<?> noauth() {
return Result.error("没有权限,请管理员授权,刷新用户缓存或退出重新登录!"); return Result.error("没有权限,请联系管理员授权,刷新缓存!");
} }
/** /**