Commit 91b5ddff by 丁伟峰

for test

1 parent 0001cfe8
...@@ -17,7 +17,7 @@ import java.util.stream.Collectors; ...@@ -17,7 +17,7 @@ import java.util.stream.Collectors;
@RestControllerAdvice @RestControllerAdvice
public class GlobalExceptionHandler { public class GlobalExceptionHandler {
@ExceptionHandler(value = {BindException.class, ValidationException.class, MethodArgumentNotValidException.class}) @ExceptionHandler(value = {BindException.class, ValidationException.class, MethodArgumentNotValidException.class, Exception.class})
public Result<?> handleValidatedException(Exception e) { public Result<?> handleValidatedException(Exception e) {
Result<?> resp = null; Result<?> resp = null;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!