瀏覽代碼

developing

luojunhui 3 月之前
父節點
當前提交
74fbb2e3c9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      applications/api/aigc_system_api.py

+ 1 - 1
applications/api/aigc_system_api.py

@@ -34,7 +34,7 @@ class AigcSystemApi:
         url = "http://aigc-api.cybertogether.net/aigc/crawler/content/videoPoolCrawlerRelation"
         payload = json.dumps({"params": {"relations": relation_list}})
         try:
-            response = requests.post(url, headers=headers, json=payload, timeout=60)
+            response = requests.post(url, headers=headers, data=payload, timeout=60)
             response.raise_for_status()
             return response.json()
         except RequestException as e: