From da63ef5b1988c85675d62e853dbce78c163d3736 Mon Sep 17 00:00:00 2001
From: che_shuai <che_shuai@massclouds.com>
Date: 星期五, 22 九月 2023 11:34:10 +0800
Subject: [PATCH] 推流列表-->添加通道 补充播放需要的默认参数 媒体服务器ID,是否本平台推送,是否正在推送(影响播放按钮是否显示)
---
src/main/java/com/genersoft/iot/vmp/vmanager/bean/WVPResult.java | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/vmanager/bean/WVPResult.java b/src/main/java/com/genersoft/iot/vmp/vmanager/bean/WVPResult.java
old mode 100644
new mode 100755
index 6ad1ed7..d293b8d
--- a/src/main/java/com/genersoft/iot/vmp/vmanager/bean/WVPResult.java
+++ b/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());
}
--
Gitblit v1.8.0