|
@@ -247,7 +247,7 @@ class LiveService extends BaseService
|
|
|
$model = MemberModel::from('member as a')
|
|
|
->leftJoin('video_collect as b',function($join) use($liveId){
|
|
|
$join->on('a.id','=','b.user_id')
|
|
|
- ->where(['b.type'=>1,'b.collect_id'=> $liveId,'b.source_type'=>2,'b.status'=>1,'b.mark'=>1]);
|
|
|
+ ->where(['b.type'=>1,'b.collect_id'=> $liveId,'b.source_type'=>2,'b.is_online'=>1,'b.status'=>1,'b.mark'=>1]);
|
|
|
})
|
|
|
->where(['a.status'=>1,'a.mark'=>1])
|
|
|
->where('b.id','>', 0)
|