|
|
@@ -69,6 +69,7 @@ class VideoService extends BaseService
|
|
|
->where($where)
|
|
|
->where(function ($query) use ($params, $userId) {
|
|
|
$type = isset($params['type']) ? $params['type'] : 0;
|
|
|
+
|
|
|
if ($type > 0) {
|
|
|
if($type == 1){
|
|
|
// 发布的
|
|
|
@@ -99,7 +100,7 @@ class VideoService extends BaseService
|
|
|
|
|
|
$uid = isset($params['uid']) ? $params['uid'] : 0;
|
|
|
if ($uid > 0) {
|
|
|
- $query->where(['a.user_id'=>$uid,'a.statuss'=>2]);
|
|
|
+ $query->where(['a.user_id'=>$uid,'a.status'=>2]);
|
|
|
}else{
|
|
|
$query->where('a.status', 2);
|
|
|
}
|