ruoyi-common/src/main/java/com/ruoyi/common/exception/BusinessException.java
@@ -10,11 +10,11 @@ private String message; // public BusinessException(ResultCode error) { // super(error.getDesc()); // this.code = error.getCode(); // this.message = error.getDesc(); // } public BusinessException(ResultConstants error) { super(error.getDesc()); this.code = error.getCode(); this.message = error.getDesc(); } public BusinessException(Class causeClass, ResultConstants error) { super(error.getDesc());