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