修改文件传输规则

This commit is contained in:
胡尧
2025-04-25 17:30:51 +08:00
parent 4bce26721d
commit 82bd50cb97

View File

@@ -59,7 +59,7 @@ class MainController(http.Controller):
target_ftp_info,
'/' + 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:
return {'code': 200, 'message': '传输成功', 'file_list': result}