|
@@ -74,7 +74,7 @@ public class BaseExceptionHandler {
|
|
|
}
|
|
|
|
|
|
@ExceptionHandler(AccessDeniedException.class)
|
|
|
- @ResponseStatus(HttpStatus.BAD_REQUEST)
|
|
|
+ @ResponseStatus(HttpStatus.FORBIDDEN)
|
|
|
public Result accessDeniedException(AccessDeniedException e){
|
|
|
e.printStackTrace();
|
|
|
return Result.error(e.getMessage());
|