Commit 9d762aa0 authored by liudong1993's avatar liudong1993

1

parent 6c900a13
......@@ -18,6 +18,11 @@ namespace Mall.Model.Extend.Assess
/// 组图列表
/// </summary>
public List<AssessBrandImg> BrandImgList { get; set; }
/// <summary>
/// 所属分类名称
/// </summary>
public string CategoryName { get; set; }
}
......
......@@ -176,6 +176,7 @@ namespace Mall.Module.Miai
{
model.BrandImgList = JsonHelper.DeserializeObject<List<AssessBrandImg>>(model.BrandImg);
}
model.CategoryName = assess_CategoryRepository.GetEntity(model.CategoryId)?.Name ?? "";
}
return model;
}
......
......@@ -102,6 +102,7 @@ namespace Mall.WebApi.Controllers.MallBase
model.Id,
model.CategoryId,
model.Name,
model.CategoryName,
model.Logo,
model.IsHot,
model.BrandImgList,
......
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