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));
         }