src/main/java/com/zy/common/config/CoolExceptionHandler.java
@@ -18,10 +18,10 @@ return R.error(); } // @ExceptionHandler(HttpRequestMethodNotSupportedException.class) // public R handleHttpRequestMethodNotSupportedException(HttpRequestMethodNotSupportedException e) { // return R.error(); // } @ExceptionHandler(HttpRequestMethodNotSupportedException.class) public R handleHttpRequestMethodNotSupportedException(HttpRequestMethodNotSupportedException e) { return R.error(); } @ExceptionHandler(CoolException.class) public R handleRRException(CoolException e) {