Commit 688d6ae5 authored by 吴春's avatar 吴春

11

parent 19e13a22
...@@ -1563,7 +1563,11 @@ namespace Mall.Module.TradePavilion ...@@ -1563,7 +1563,11 @@ namespace Mall.Module.TradePavilion
DataId = tItem.DataId, DataId = tItem.DataId,
DataName = tItem.DataName, DataName = tItem.DataName,
DataType = tItem.DataType, DataType = tItem.DataType,
CoverImg = "" CoverImg = "",
Address = "",
FullBrandName = "",
ProjectType = 0,
ProjectTypeName="",
}; };
if (tModel.DataType == BrandCategoryEnum.LouYu || tModel.DataType == BrandCategoryEnum.QiYeFuWu) if (tModel.DataType == BrandCategoryEnum.LouYu || tModel.DataType == BrandCategoryEnum.QiYeFuWu)
{ {
...@@ -1586,6 +1590,17 @@ namespace Mall.Module.TradePavilion ...@@ -1586,6 +1590,17 @@ namespace Mall.Module.TradePavilion
{ {
tModel.CoverImg = tItem.CoverImg; tModel.CoverImg = tItem.CoverImg;
} }
if (tModel.DataType == BrandCategoryEnum.PinPai)
{
tModel.FullBrandName = tItem.FullBrandName;
}
else if (tModel.DataType == BrandCategoryEnum.ZaiTi)
{
tModel.ProjectType = tItem.ProjectType;
tModel.ProjectTypeName = tItem.ProjectType.GetEnumName();
tModel.Address = tItem.Address;
}
rList.Add(tModel); rList.Add(tModel);
} }
} }
...@@ -1603,6 +1618,10 @@ namespace Mall.Module.TradePavilion ...@@ -1603,6 +1618,10 @@ namespace Mall.Module.TradePavilion
DataName=cItem.CarrierName, DataName=cItem.CarrierName,
DataType= BrandCategoryEnum.ZaiTi, DataType= BrandCategoryEnum.ZaiTi,
CoverImg=cItem.Logo, CoverImg=cItem.Logo,
Address =cItem.Address,
FullBrandName = "",
ProjectType = cItem.ProjectType,
ProjectTypeName = cItem.ProjectType.GetEnumName(),
}; };
rList.Add(ctirModel); rList.Add(ctirModel);
} }
...@@ -1619,6 +1638,10 @@ namespace Mall.Module.TradePavilion ...@@ -1619,6 +1638,10 @@ namespace Mall.Module.TradePavilion
DataId = bItem.BuildId, DataId = bItem.BuildId,
DataName = bItem.Name, DataName = bItem.Name,
DataType = BrandCategoryEnum.LouYu, DataType = BrandCategoryEnum.LouYu,
Address = "",
FullBrandName = "",
ProjectType = 0,
ProjectTypeName = "",
}; };
string CoverImg = ""; string CoverImg = "";
if (!string.IsNullOrEmpty(bItem.Banner)) if (!string.IsNullOrEmpty(bItem.Banner))
...@@ -1649,6 +1672,10 @@ namespace Mall.Module.TradePavilion ...@@ -1649,6 +1672,10 @@ namespace Mall.Module.TradePavilion
DataName = bItem.BrandName, DataName = bItem.BrandName,
DataType = BrandCategoryEnum.PinPai, DataType = BrandCategoryEnum.PinPai,
CoverImg = bItem.Logo, CoverImg = bItem.Logo,
Address = "",
FullBrandName = bItem.FullBrandName,
ProjectType = 0,
ProjectTypeName = "",
}; };
rList.Add(btirModel); rList.Add(btirModel);
} }
...@@ -1664,6 +1691,10 @@ namespace Mall.Module.TradePavilion ...@@ -1664,6 +1691,10 @@ namespace Mall.Module.TradePavilion
DataId = esItem.ServiceId, DataId = esItem.ServiceId,
DataName = esItem.Name, DataName = esItem.Name,
DataType = BrandCategoryEnum.QiYeFuWu, DataType = BrandCategoryEnum.QiYeFuWu,
Address = "",
FullBrandName = "",
ProjectType = 0,
ProjectTypeName = "",
}; };
string CoverImg = ""; string CoverImg = "";
if (!string.IsNullOrEmpty(esItem.Banner)) if (!string.IsNullOrEmpty(esItem.Banner))
......
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