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