dongchangxi 1 month ago
parent
commit
c64b394715
  1. 2
      script/factory_sliceing/type_setting_order.py

2
script/factory_sliceing/type_setting_order.py

@ -65,7 +65,7 @@ def redisClient(): @@ -65,7 +65,7 @@ def redisClient():
# 根据批次id,进行切片中的状态变更
def requestApiToUpdateSliceStatus(versionId,downloadCounts):
api_url = f"{url}/api/typeSettingPrintOrder/updateBatchSliceing?batch_id={versionId}&download_counts="+downloadCounts
api_url = f"{url}/api/typeSettingPrintOrder/updateBatchSliceing?batch_id={versionId}&download_counts="+str(downloadCounts)
print(f'发起状态变更请求url={api_url}, versionId={versionId}')
res = requests.post(api_url)
if res.status_code != 200:

Loading…
Cancel
Save