Commit a437880c by 丁伟峰

for test

1 parent 0a79480d
......@@ -7,6 +7,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.validation.BindException;
import org.springframework.validation.FieldError;
import org.springframework.web.bind.MethodArgumentNotValidException;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler;
......@@ -18,7 +19,7 @@ import java.util.Set;
import java.util.stream.Collectors;
@Slf4j
@RestControllerAdvice
@ControllerAdvice
public class GlobalExceptionHandler {
private static final String BAD_REQUEST_MSG = "参数检验不通过";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!