10.25切分改为多线程
This commit is contained in:
parent
d0dd870a52
commit
ae5c77bd25
@ -177,8 +177,8 @@ def get_procurement_reqs():
|
||||
response = download_and_process_file_for_procurement(file_url)
|
||||
try:
|
||||
with open(final_res_path, 'w', encoding='utf-8') as json_file:
|
||||
json.dump(final_res_path, json_file, ensure_ascii=False, indent=4)
|
||||
logger.info(f"摘取后的数据已保存到 '{final_res_path}'")
|
||||
json.dump(response, json_file, ensure_ascii=False, indent=4)
|
||||
logger.info(f"技术参数要求已保存到 '{final_res_path}'")
|
||||
except IOError as e:
|
||||
logger.error(f"保存JSON文件时出错: {e}")
|
||||
return jsonify({
|
||||
|
Loading…
x
Reference in New Issue
Block a user