修改任务上传报告路径
This commit is contained in:
parent
30de6e25c6
commit
6e19cc6383
|
|
@ -2061,7 +2061,7 @@ def upload_greenwave_task_stage_file(params):
|
|||
file_info = request.files[key]
|
||||
name = file_info.filename
|
||||
file_stream = file_info.stream
|
||||
cos_path = f'user/ledger/{nodeid}/{area_id}/{task_no}'
|
||||
cos_path = f'user/cross_doctor/task_file/{nodeid}/{area_id}/{task_no}'
|
||||
folder_manager.ensure_folder(cos_path)
|
||||
cos_key = f'{cos_path}/{name}'
|
||||
cos_client.put_object(Bucket=g_cos_bucket, Key=cos_key, Body=file_stream)
|
||||
|
|
|
|||
Loading…
Reference in New Issue