wesmiler 1 year ago
parent
commit
a182764d17
1 changed files with 1 additions and 1 deletions
  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));
         }