This commit is contained in:
dongchangxi committed 2025-03-15 16:01:15 +08:00
1 parent 54a278f346
commit 593ed145c2
1 file changed
+1 -1
+1 -1
View File
@@ -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']