heheng
2025-01-16 92ac1754c713d206ebdafa3da8ec817c1d1e120d
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());