kongzy
2024-10-12 3f03de50c5656611652a24dca8b12b37eb055ac3
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());