wesmiler 2 лет назад
Родитель
Сommit
09bdab8643
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/Api/VideoService.php

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

@@ -73,7 +73,7 @@ class VideoService extends BaseService
                     $query->where('a.type', $type);
                     $query->where('a.type', $type);
                 }
                 }
 
 
-                $uid = isset($params['user_id']) ? $params['user_id'] : 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);
                 }else{
                 }else{