解决:分配权限必须退出重新登录才生效,造成很多用户困扰

This commit is contained in:
JEECG
2024-06-18 16:18:35 +08:00
parent cff5ec5a40
commit 2d37b166a2
3 changed files with 18 additions and 3 deletions

View File

@ -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)