1
This commit is contained in:
1 parent
54a278f346
commit
593ed145c2
1 file changed
+1
-1
@@ -157,7 +157,7 @@ def down_obj_fromoss(pid, print_type=1, order_id=None,download_flag="print_build
|
|||||||
# time.sleep(10)
|
# time.sleep(10)
|
||||||
#根据pid获取orderId
|
#根据pid获取orderId
|
||||||
def getPidFromOrderId(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}')
|
print(f'{getPidFromOrderId_url}?id={orderId}')
|
||||||
res = requests.get(f'{getPidFromOrderId_url}?id={orderId}')
|
res = requests.get(f'{getPidFromOrderId_url}?id={orderId}')
|
||||||
resCode = res.json()['code']
|
resCode = res.json()['code']
|
||||||
|
|||||||
Reference in new issue
Block a user