wesmiler 2 роки тому
батько
коміт
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));
         }