Browse Source

直播间 状态修改

yuhongqi 3 days ago
parent
commit
09f20d796b

+ 1 - 1
fs-service/src/main/java/com/fs/live/service/impl/LiveServiceImpl.java

@@ -206,7 +206,7 @@ public class LiveServiceImpl extends ServiceImpl<LiveMapper, Live> implements IL
             return R.ok().put("rtmpUrl", live.getRtmpUrl());
         }
 
-        if (live.getStatus() != 1 || live.getIsShow() != 1 || live.getIsAudit() != 1) {
+        if (live.getIsShow() != 1 || live.getIsAudit() != 1) {
             return R.error("您未拥有直播权限");
         }
         SysConfig sysConfig = sysConfigService.selectConfigByConfigKey("living.config");