Authored by xiaofeng.yao@yoho.cn

主播推流列表展示未开始、已结束的房间

... ... @@ -185,7 +185,7 @@ class RoomController extends BaseController
->select('a.room_id,a.title,a.living,a.secret,b.channel_id,b.upstream_address')
->from('tbl_room a')
->leftJoin('tbl_room_qchannel b', 'a.room_id=b.room_id')
->where(['a.living' => 0])
->where(['a.living' => [0,2]])
->all();
if ($result) {
foreach($result as $flow){
... ...