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