修改文件上传路径
This commit is contained in:
parent
81a69065e5
commit
8d8c8e7510
|
|
@ -247,7 +247,7 @@ def gen_cross_compare_report(params):
|
|||
doc1.build_template('')
|
||||
doc1.doc.save(file_stream)
|
||||
file_stream.seek(0)
|
||||
cos_path = f'user/cross_doctor/platform_report/{nodeid}/{area_id}/cross_compare_report/'
|
||||
cos_path = f'user/cross_doctor/platform_report/{nodeid}/{area_id}/cross_compare_report'
|
||||
folder_manager.ensure_folder(cos_path)
|
||||
cos_key = f"{cos_path}/{cross_static_info['name']}路口优化对比报告.docx"
|
||||
cos_client.put_object(Bucket=g_cos_bucket, Key=cos_key, Body=file_stream)
|
||||
|
|
|
|||
Loading…
Reference in New Issue