dongchangxi 8 months ago
parent
commit
597effb7ee
  1. 4
      timer/external_order_glbV2.py

4
timer/external_order_glbV2.py

@ -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):

Loading…
Cancel
Save