This commit is contained in:
dongchangxi committed 2025-05-13 19:45:55 +08:00
1 parent 1a41ca6b03
commit 597effb7ee
1 file changed
+3 -1
+3 -1
View File
@@ -229,7 +229,9 @@ def export_and_update_glbs(pid):
#shutil.rmtree(os.path.join(config.workdir,'print',pid)) #shutil.rmtree(os.path.join(config.workdir,'print',pid))
#更新该笔订单的状态为 3000 #更新该笔订单的状态为 3000
requests.post("https://shop.api.suwa3d.com/api/printOrder/updateExternalOrderStatus", data={'pid': pid}) # order_ids 逗号隔开
order_ids = ",".join(order_ids)
requests.post("https://shop.api.suwa3d.com/api/printOrder/updateExternalOrderStatusV2", data={'pid': pid,"order_ids":order_ids})
def createGlb(pid,order_ids): def createGlb(pid,order_ids):