src/main/java/zy/cloud/wms/common/config/CoolExceptionHandler.java
@@ -26,6 +26,11 @@ @ExceptionHandler(CoolException.class) public R handleRRException(CoolException e) { return R.error(e.getMessage()); } @ExceptionHandler(CodeCoolException.class) public R handleRRException(CodeCoolException e) { return R.parse(e.getMessage()); }