rain
2024-07-30 66d80894a8f0d37a64cee6d23d60c26b6cec864c
src/main/java/com/dji/sample/component/GlobalExceptionHandler.java
@@ -30,7 +30,7 @@
    @ExceptionHandler(NullPointerException.class)
    public ResponseResult nullPointerExceptionHandler(NullPointerException e) {
        e.printStackTrace();
        return ResponseResult.error("A null object appeared.");
        return ResponseResult.error("出现空对象");
    }
    @ExceptionHandler({MethodArgumentNotValidException.class, BindException.class})