|
|
|
@ -229,7 +229,9 @@ def export_and_update_glbs(pid): |
|
|
|
#shutil.rmtree(os.path.join(config.workdir,'print',pid)) |
|
|
|
#shutil.rmtree(os.path.join(config.workdir,'print',pid)) |
|
|
|
|
|
|
|
|
|
|
|
#更新该笔订单的状态为 3000 |
|
|
|
#更新该笔订单的状态为 3000 |
|
|
|
requests.post("https://shop.api.suwa3d.com/api/printOrder/updateExternalOrderStatus", data={'pid': pid}) |
|
|
|
# order_ids 逗号隔开 |
|
|
|
|
|
|
|
order_ids = ",".join(order_ids) |
|
|
|
|
|
|
|
requests.post("https://shop.api.suwa3d.com/api/printOrder/updateExternalOrderStatusV2", data={'pid': pid,"order_ids":order_ids}) |
|
|
|
|
|
|
|
|
|
|
|
def createGlb(pid,order_ids): |
|
|
|
def createGlb(pid,order_ids): |
|
|
|
|
|
|
|
|
|
|
|
|