dongchangxi 5 months ago
parent
commit
41403b5a51
  1. 2
      timer/external_order_glbV2.py

2
timer/external_order_glbV2.py

@ -296,7 +296,7 @@ def createGlb(pid,order_ids): @@ -296,7 +296,7 @@ def createGlb(pid,order_ids):
if isNormal == False:
print(f'{pid}的mtl文件检测出现问题,不执行该笔任务,调用取消的接口')
for order_id in order_ids:
url = f"https://mp.api.suwa3d.com/api/order/cancelExternalOrder?id={order_id}&typename=system"
url = f"https://mp.api.suwa3d.com/api/order/cancelExternalOrder?order_id={order_id}&typename=system"
response = requests.get(url)
response = response.json()
if response['code'] != 1000:

Loading…
Cancel
Save