Commit 678d70ee authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程五脚本编写

parent dc7a17c7
......@@ -1031,8 +1031,14 @@ def SaveCacheBatch2(headers):
print('request_body4', request_body4)
# while True:
# time.sleep(3)
result = commonFuc().http_post(url, request_body4, headers)
while True:
result = commonFuc().http_post(url, request_body4, headers)
code=commonFuc().analysis_json('code',result)
if code==0:
break
else:
print('外网发票暂存出现问题,请检查脚本或者数据')
continue
print('result', result)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment