Commit afb721d8 authored by 黄奎's avatar 黄奎

页面修改

parent 4de0ff95
......@@ -271,6 +271,7 @@ namespace Mall.WebApi.Controllers.MallBase
QIds = templateIds
}, IsAnalyzePlus: true);
//解析模板
int index = 0;
foreach (var item in selfHomePage.DetailsList)
{
var templateData = new
......@@ -290,12 +291,13 @@ namespace Mall.WebApi.Controllers.MallBase
var tempObj = new
{
id = item.Id,
name = item.NavName,
name = (index == 0 ? "首页" : item.NavName),
page_id = 0,
template_id = item.Id,
template = templateData
};
list.Add(tempObj);
index++;
}
homePage = new
......
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