modify recall
This commit is contained in:
@@ -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(); // ▲列表清空
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user