报表目的银行hide目录

This commit is contained in:
falcon 2020-06-28 10:06:18 +08:00
parent ebb61dbb40
commit 335b335f7b

View File

@ -59,6 +59,9 @@ namespace ReportService.Controllers.api
var cPath = Path.Combine(this.ReportPath,rootPath ?? "");
var dirs = Directory.GetDirectories(cPath);
foreach(var d in dirs) {
if(d.Trim().ToLower().EndsWith("\\hide")) {
continue;
}
var sd = new ReportItem {
Name = d.Substring(d.LastIndexOf('\\') + 1),
Path = rootPath ?? "",