wesmiler пре 1 година
родитељ
комит
a182764d17
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Services/Api/VideoCollectService.php

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

@@ -229,7 +229,7 @@ class VideoCollectService extends BaseService
                 }
             }
 
-//            $arr['uids'][] = $userId;
+            $arr['uids'] = array_unique($arr['uids']);
             RedisService::set($cacheKey, $arr, rand(3600, 7200));
         }