qirong
2023-10-27 3e6b676e210e22e4b7b4183d908dbca880093b86
src/main/java/com/mindskip/xzs/configuration/spring/exception/ExceptionHandle.java
@@ -69,5 +69,10 @@
        return new RestResponse<>(SystemCode.ParameterValidError.getCode(), errorMsg);
    }
    @ExceptionHandler(QuestionException.class)
    @ResponseBody
    public RestResponse handler(QuestionException e) {
        logger.error(e.getMessage(), e);
        return new RestResponse<>(SystemCode.QuestionError.getCode(), SystemCode.QuestionError.getMessage());
    }
}