modify recall

This commit is contained in:
lnk
2025-10-15 16:29:54 +08:00
parent 24e1bf0125
commit c55f2ab1af
3 changed files with 352 additions and 248 deletions

View File

@@ -76,7 +76,7 @@ public:
//暂态文件用
bool direct_mode = false; // 直下文件开关true 表示不按时间窗,仅按目标文件名
std::string target_filename; // 直下文件名(不含目录)
std::vector<std::string> target_filenames; // 直下文件名(不含目录)
std::list<std::string> file_paths; // 已下载/要上报的完整路径(用于最终结果)
@@ -118,7 +118,7 @@ public:
// ★新增:按需保留直下文件开关和目标名
if (!keep_direct) {
direct_mode = false;
target_filename.clear();
target_filenames.clear(); // ▲列表清空
}
}
};