修改文件传输规则
This commit is contained in:
@@ -59,7 +59,7 @@ class MainController(http.Controller):
|
|||||||
target_ftp_info,
|
target_ftp_info,
|
||||||
'/' + str(model_id),
|
'/' + str(model_id),
|
||||||
'/',
|
'/',
|
||||||
match_str=r'^\d*_\d*-' + tool_groups_id.name + r'-\w{2}-all\.nc$'
|
match_str=r'^\d*-' + tool_groups_id.name + r'-\w{2}-all\.nc$'
|
||||||
)
|
)
|
||||||
if len(result) > 0:
|
if len(result) > 0:
|
||||||
return {'code': 200, 'message': '传输成功', 'file_list': result}
|
return {'code': 200, 'message': '传输成功', 'file_list': result}
|
||||||
|
|||||||
Reference in New Issue
Block a user