wesmiler %!s(int64=2) %!d(string=hai) anos
pai
achega
2510dfed5f
Modificáronse 1 ficheiros con 1 adicións e 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);
                 }