dongchangxi 5 months ago
parent
commit
36f3f95c53
  1. 1
      timer/external_order_glbV2.py

1
timer/external_order_glbV2.py

@ -299,6 +299,7 @@ def createGlb(pid,order_ids):
url = f"https://mp.api.suwa3d.com/api/order/cancelExternalOrder?order_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 = requests.get(url)
response = response.json() response = response.json()
print(response)
if response['code'] != 1000: if response['code'] != 1000:
continue continue
print(f'取消订单{order_id}成功') print(f'取消订单{order_id}成功')

Loading…
Cancel
Save