src/main/java/com/zy/common/config/CoolExceptionHandler.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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) {