Commit 29662391 authored by 吴春's avatar 吴春

提交代码

parent 7193550c
......@@ -218,6 +218,13 @@ namespace Mall.WebApi.Controllers.Education
demodel.MallBaseId = parms.MallBaseId;
demodel.ArticleStatus = 1;//只查询销售中的
var list = educationModule.GetArticlePageListRepository(pagelist.pageIndex, pagelist.pageSize, out long count, demodel);
foreach (var item in list)
{
if (!string.IsNullOrWhiteSpace(item.LableName))
{
item.LableNameList = JsonConvert.DeserializeObject<List<string>>(item.LableName);
}
}
pagelist.count = Convert.ToInt32(count);
pagelist.pageData = list.Select(x => new
{
......@@ -259,6 +266,10 @@ namespace Mall.WebApi.Controllers.Education
{
oldLogisticsModel = new RB_Education_Article_Extend();
}
if (!string.IsNullOrWhiteSpace(oldLogisticsModel.LableName))
{
oldLogisticsModel.LableNameList = JsonConvert.DeserializeObject<List<string>>(oldLogisticsModel.LableName);
}
//更新浏览数
try
{
......@@ -279,7 +290,7 @@ namespace Mall.WebApi.Controllers.Education
/// <summary>
/// 获取商品评论分页列表
/// 获取资讯留言分页列表
/// </summary>
/// <returns></returns>
[HttpPost]
......
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