报表目的银行hide目录
This commit is contained in:
parent
ebb61dbb40
commit
335b335f7b
|
@ -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 ?? "",
|
||||
|
|
Loading…
Reference in New Issue
Block a user