wesmiler hace 2 años
padre
commit
2510dfed5f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/Api/VideoService.php

+ 1 - 1
app/Services/Api/VideoService.php

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