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

11

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