Commit 2d3b8aab authored by 吴春's avatar 吴春

提交代码

parent aadd631e
......@@ -1070,7 +1070,7 @@ namespace Mall.Module.TradePavilion
var companyName = clist.Where(x => x.CreateBy == enrollItem.Key).FirstOrDefault()?.CompanyName ?? System.DateTime.Now.ToString("yyyyMMddHHmmssfff");
var nowEnroList = enrollList.Where(x => x.UserId == enrollItem.Key);
var templistPath = Path.Combine(tempPath + "file\\" + timeStr + "\\" + companyName + "\\");//路径
var templistPath = Path.Combine(tempPath + "file\\" + timeStr + "\\" + companyName.Trim() + "\\");//路径
if (!Directory.Exists(templistPath))
{
Directory.CreateDirectory(templistPath);
......@@ -1087,7 +1087,7 @@ namespace Mall.Module.TradePavilion
}
List<FormDataItem> elist = JsonHelper.DeserializeObject<List<FormDataItem>>(item.Content);
elist = elist.Where(x => x.CompKey == "ImageUploadComp" || x.CompKey == "VideoUploadComp" || x.CompKey == "CommonUploadComp").ToList();
var templistnowPath = Path.Combine(templistPath + enrollModel.ListName + "\\");//路径
var templistnowPath = Path.Combine(templistPath + enrollModel.ListName.Trim() + "\\");//路径
if (!Directory.Exists(templistnowPath))
{
Directory.CreateDirectory(templistnowPath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment