@@ -70,7 +70,7 @@ namespace YhCore.Service.Impl
|
|||||||
|
|
||||||
string dtStr = DateTime.Now.ToString("yyyyMMdd");
|
string dtStr = DateTime.Now.ToString("yyyyMMdd");
|
||||||
string physicalDir = Path.Combine(StorageRoot(), appType, dtStr);
|
string physicalDir = Path.Combine(StorageRoot(), appType, dtStr);
|
||||||
string outFilePath = Config.FilePath + appType + "/" + dtStr + "/";
|
string outFilePath = appType + "/" + dtStr + "/";
|
||||||
|
|
||||||
if (!Directory.Exists(physicalDir))
|
if (!Directory.Exists(physicalDir))
|
||||||
Directory.CreateDirectory(physicalDir);
|
Directory.CreateDirectory(physicalDir);
|
||||||
@@ -108,7 +108,7 @@ namespace YhCore.Service.Impl
|
|||||||
if (appType.ToLower() == "noticemsg") appType = "notice";
|
if (appType.ToLower() == "noticemsg") appType = "notice";
|
||||||
string dtStr = DateTime.Now.ToString("yyyyMMdd");
|
string dtStr = DateTime.Now.ToString("yyyyMMdd");
|
||||||
string physicalDir = Path.Combine(StorageRoot(), appType, dtStr);
|
string physicalDir = Path.Combine(StorageRoot(), appType, dtStr);
|
||||||
string outFilePath = Config.FilePath + appType + "/" + dtStr + "/";
|
string outFilePath = appType + "/" + dtStr + "/";
|
||||||
|
|
||||||
if (!Directory.Exists(physicalDir))
|
if (!Directory.Exists(physicalDir))
|
||||||
Directory.CreateDirectory(physicalDir);
|
Directory.CreateDirectory(physicalDir);
|
||||||
@@ -168,7 +168,7 @@ namespace YhCore.Service.Impl
|
|||||||
if (appType.ToLower() == "noticemsg") appType = "notice";
|
if (appType.ToLower() == "noticemsg") appType = "notice";
|
||||||
string dtStr = DateTime.Now.ToString("yyyyMMdd");
|
string dtStr = DateTime.Now.ToString("yyyyMMdd");
|
||||||
string physicalDir = Path.Combine(StorageRoot(), appType, dtStr);
|
string physicalDir = Path.Combine(StorageRoot(), appType, dtStr);
|
||||||
string outFilePath = Config.FilePath+ appType + "/" + dtStr + "/";
|
string outFilePath = appType + "/" + dtStr + "/";
|
||||||
if (!Directory.Exists(physicalDir))
|
if (!Directory.Exists(physicalDir))
|
||||||
Directory.CreateDirectory(physicalDir);
|
Directory.CreateDirectory(physicalDir);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user