dongchangxi 10 months ago
parent
commit
593ed145c2
  1. 2
      gray_auto_convert3d.py

2
gray_auto_convert3d.py

@ -157,7 +157,7 @@ def down_obj_fromoss(pid, print_type=1, order_id=None,download_flag="print_build @@ -157,7 +157,7 @@ def down_obj_fromoss(pid, print_type=1, order_id=None,download_flag="print_build
# time.sleep(10)
#根据pid获取orderId
def getPidFromOrderId(orderId):
getPidFromOrderId_url = 'https://mp.gray.api.suwa3d.com/api/printOrder/info'
getPidFromOrderId_url = 'https://mp.gray.api.suwa3d.com/api/printOrder/infoByOrderId'
print(f'{getPidFromOrderId_url}?id={orderId}')
res = requests.get(f'{getPidFromOrderId_url}?id={orderId}')
resCode = res.json()['code']

Loading…
Cancel
Save