648540858
2023-06-30 c9164330424180cc8b35f4c4adc3e4a57101f812
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());
    }