648540858
2023-03-31 2e5d94181a3c02c819f2fec4c5d88378bf2b5848
src/main/java/com/genersoft/iot/vmp/vmanager/bean/WVPResult.java
@@ -28,6 +28,10 @@
        return new WVPResult<>(ErrorCode.SUCCESS.getCode(), msg, t);
    }
    public static WVPResult success() {
        return new WVPResult<>(ErrorCode.SUCCESS.getCode(), ErrorCode.SUCCESS.getMsg(), null);
    }
    public static <T> WVPResult<T> success(T t) {
        return success(t, ErrorCode.SUCCESS.getMsg());
    }