Commit e0e67780 authored by 吴春's avatar 吴春

11

parent f3a45dc0
......@@ -1262,7 +1262,20 @@ namespace REBORN.Module.DMCModule
{
item.MD5Sign = SecurityHelper.MD5("Hotel" + DateTime.Now.ToString("yyyyMMddhhmmssfff"));
}
List<FileData> imgList = new List<FileData>();
if (item.ImaArray != null && item.ImaArray.Count > 0)
{
int iCount = 1;
foreach (var hiItem in item.ImaArray)
{
if (iCount <= 5)
{
imgList.Add(hiItem);
}
iCount++;
}
}
item.HotelImg = JsonHelper.Serialize(imgList);
item.ConfigId = extModel.ID;
if (string.IsNullOrEmpty(item.QCity))
{
......
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