mirror of
https://github.com/jeecgboot/jeecg-boot.git
synced 2025-09-07 20:57:45 +00:00
错误信息语句不通顺 #6643
This commit is contained in:
@@ -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)
|
||||
|
@@ -51,7 +51,7 @@ public class CommonController {
|
||||
*/
|
||||
@GetMapping("/403")
|
||||
public Result<?> noauth() {
|
||||
return Result.error("没有权限,请联系管理员授权,后刷新缓存!");
|
||||
return Result.error("没有权限,请联系管理员授权后刷新缓存!");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user