Browse Source

增加位置信息

罗俊辉 1 năm trước cách đây
mục cha
commit
18200bf518
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      applications/schedule/process_schedule.py

+ 2 - 1
applications/schedule/process_schedule.py

@@ -43,7 +43,8 @@ async def return_info(video_id, kimi_title, trace_id, mysql_client, index):
         "source": source,
         "rootShareId": root_share_id,
         "productionPath": productionPath,
-        "videoUrl": videoUrl
+        "videoUrl": videoUrl,
+        "paragraphPosition": index * 0.25
     }
     update_result_sql = f"""
                     UPDATE long_articles_video_dev