diff --git a/src/YhCore.Service/Impl/FileService.cs b/src/YhCore.Service/Impl/FileService.cs index d2040a7..c930f97 100644 --- a/src/YhCore.Service/Impl/FileService.cs +++ b/src/YhCore.Service/Impl/FileService.cs @@ -70,7 +70,7 @@ namespace YhCore.Service.Impl string dtStr = DateTime.Now.ToString("yyyyMMdd"); string physicalDir = Path.Combine(StorageRoot(), appType, dtStr); - string outFilePath = Config.FilePath + appType + "/" + dtStr + "/"; + string outFilePath = appType + "/" + dtStr + "/"; if (!Directory.Exists(physicalDir)) Directory.CreateDirectory(physicalDir); @@ -108,7 +108,7 @@ namespace YhCore.Service.Impl if (appType.ToLower() == "noticemsg") appType = "notice"; string dtStr = DateTime.Now.ToString("yyyyMMdd"); string physicalDir = Path.Combine(StorageRoot(), appType, dtStr); - string outFilePath = Config.FilePath + appType + "/" + dtStr + "/"; + string outFilePath = appType + "/" + dtStr + "/"; if (!Directory.Exists(physicalDir)) Directory.CreateDirectory(physicalDir); @@ -168,7 +168,7 @@ namespace YhCore.Service.Impl if (appType.ToLower() == "noticemsg") appType = "notice"; string dtStr = DateTime.Now.ToString("yyyyMMdd"); string physicalDir = Path.Combine(StorageRoot(), appType, dtStr); - string outFilePath = Config.FilePath+ appType + "/" + dtStr + "/"; + string outFilePath = appType + "/" + dtStr + "/"; if (!Directory.Exists(physicalDir)) Directory.CreateDirectory(physicalDir);