@@ -221,6 +221,7 @@ class MatchArticlesV2(object):
WHERE task_id = '{self.task_id}';
"""
result = await self.mysql_client.select(select_sql)
+ print(result)
video_id, cover, images, ai_text, ai_title, status_code = result[0]
match status_code:
case 0:
@@ -0,0 +1,23 @@
+"""
+@author: luojunhui
+import json
+import time
+import requests
+
+url = "http://47.99.132.47:8888/matchArticleV2"
+body = {
+ "taskId": "Article_489a1168-b0bb-430f-97ca-196963ef1f82_1718784492"
+}
+a = time.time()
+header = {
+ "Content-Type": "application/json",
+response = requests.post(url, json=body, headers=header, timeout=600)
+b = time.time()
+print(b - a)
+print(response.text)
+print(json.dumps(response.json(), ensure_ascii=False, indent=4))