فهرست منبع

增加位置信息

罗俊辉 1 سال پیش
والد
کامیت
18200bf518
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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,
         "source": source,
         "rootShareId": root_share_id,
         "rootShareId": root_share_id,
         "productionPath": productionPath,
         "productionPath": productionPath,
-        "videoUrl": videoUrl
+        "videoUrl": videoUrl,
+        "paragraphPosition": index * 0.25
     }
     }
     update_result_sql = f"""
     update_result_sql = f"""
                     UPDATE long_articles_video_dev
                     UPDATE long_articles_video_dev