中心调研--026
parent
7c5b1b6fd1
commit
14b57769d3
|
@ -41,7 +41,7 @@ public static class FileStoreHelper
|
||||||
|
|
||||||
if (isChangeToPdfFormat==false)
|
if (isChangeToPdfFormat==false)
|
||||||
{
|
{
|
||||||
trustedFileNameForFileStorage= fileName+ Guid.NewGuid().ToString() ;
|
trustedFileNameForFileStorage= Path.GetFileNameWithoutExtension(fileName) + Guid.NewGuid().ToString()+Path.GetExtension(fileName) ;
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -93,6 +93,9 @@ public static class StaticData
|
||||||
public static readonly string EmailTemplate = "EmailTemplate";
|
public static readonly string EmailTemplate = "EmailTemplate";
|
||||||
|
|
||||||
public static readonly string CommonFile = "CommonFile";
|
public static readonly string CommonFile = "CommonFile";
|
||||||
|
|
||||||
|
public static readonly string TempFile = "TempFile";
|
||||||
|
|
||||||
public static readonly string CheckFile = "CheckFile";
|
public static readonly string CheckFile = "CheckFile";
|
||||||
public static readonly string SiteUserSurveryFile = "SiteUserSurveryFile";
|
public static readonly string SiteUserSurveryFile = "SiteUserSurveryFile";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue