Commit 81e20c14 authored by 黄奎's avatar 黄奎

页面修改

parent 2c449c14
...@@ -403,6 +403,7 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -403,6 +403,7 @@ namespace Mall.WebApi.Controllers.MallBase
return ApiResult.Success("", list); return ApiResult.Success("", list);
} }
/// <summary> /// <summary>
/// 获取分类详情 /// 获取分类详情
/// </summary> /// </summary>
......
...@@ -510,7 +510,10 @@ namespace Mall.WebApi.Controllers.User ...@@ -510,7 +510,10 @@ namespace Mall.WebApi.Controllers.User
name="常用", name="常用",
list= normalList list= normalList
}); });
productModule.GetCategoryListModule(new Model.Extend.Product.RB_Product_Category_Extend() { MallBaseId = RequestParm.MallBaseId, TenantId = RequestParm.TenantId, Tier = 1 }); var categoryList= productModule.GetCategoryListModule(new Model.Extend.Product.RB_Product_Category_Extend() {
MallBaseId = RequestParm.MallBaseId, TenantId = RequestParm.TenantId, Tier = 1,IsShow=1,
});
List<object> catList = new List<object>(); List<object> catList = new List<object>();
catList.Add(new catList.Add(new
{ {
...@@ -520,46 +523,18 @@ namespace Mall.WebApi.Controllers.User ...@@ -520,46 +523,18 @@ namespace Mall.WebApi.Controllers.User
is_edit = 0, is_edit = 0,
imgBg = Common.Config.GetOssFileUrl + "/Static/cat-bg.png" imgBg = Common.Config.GetOssFileUrl + "/Static/cat-bg.png"
}); });
catList.Add(new foreach (var item in categoryList)
{
key = "cat",
name = "赞羊严选",
relation_id = 9120,
is_edit = 0,
imgBg = Common.Config.GetOssFileUrl + "/Static/cat-bg.png"
});
catList.Add(new
{ {
key = "cat",
name = "严选旅游",
relation_id = 10235,
is_edit = 0,
imgBg = Common.Config.GetOssFileUrl + "/Static/cat-bg.png"
});
catList.Add(new catList.Add(new
{ {
key = "cat", key = "cat",
name = "台湾严选", name = item.Name,
relation_id = 10250, relation_id = item.Id,
is_edit = 0,
imgBg = Common.Config.GetOssFileUrl + "/Static/cat-bg.png"
});
catList.Add(new
{
key = "cat",
name = "日韩严选",
relation_id = 10252,
is_edit = 0,
imgBg = Common.Config.GetOssFileUrl + "/Static/cat-bg.png"
});
catList.Add(new
{
key = "cat",
name = "欧洲严选",
relation_id = 10253,
is_edit = 0, is_edit = 0,
imgBg = Common.Config.GetOssFileUrl + "/Static/cat-bg.png" imgBg = Common.Config.GetOssFileUrl + "/Static/cat-bg.png"
}); });
}
resultList.Add(new resultList.Add(new
{ {
key = "cat", key = "cat",
......
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