diff --git a/gray_auto_convert3d.py b/gray_auto_convert3d.py index a326083..0c05fce 100644 --- a/gray_auto_convert3d.py +++ b/gray_auto_convert3d.py @@ -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']