|
@@ -99,7 +99,7 @@ class VideoService extends BaseService
|
|
|
|
|
|
|
|
$uid = isset($params['uid']) ? $params['uid'] : 0;
|
|
$uid = isset($params['uid']) ? $params['uid'] : 0;
|
|
|
if ($uid > 0) {
|
|
if ($uid > 0) {
|
|
|
- $query->where('a.user_id', $uid);
|
|
|
|
|
|
|
+ $query->where(['a.user_id'=>$uid,'a.statuss'=>2]);
|
|
|
}else{
|
|
}else{
|
|
|
$query->where('a.status', 2);
|
|
$query->where('a.status', 2);
|
|
|
}
|
|
}
|