liqian 3 роки тому
батько
коміт
715c97b9f8
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      video_rank.py

+ 1 - 1
video_rank.py

@@ -135,7 +135,7 @@ def bottom_strategy_last(size, app_type, ab_code):
     random_data = numpy.random.choice(bottom_data, size * 30, False)
     # 状态过滤
     filter_videos = FilterVideos(app_type=app_type, video_ids=random_data)
-    filtered_data = filter_videos.filter_video_status(video_ids=data)
+    filtered_data = filter_videos.filter_video_status(video_ids=random_data)
     bottom_data = [{'videoId': video_id, 'pushFrom': 'bottom_strategy_last', 'abCode': ab_code}
                    for video_id in filtered_data[:size]]
     return bottom_data