yuhongqi преди 3 дни
родител
ревизия
09f20d796b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      fs-service/src/main/java/com/fs/live/service/impl/LiveServiceImpl.java

+ 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");