Commit 20b51fcd authored by 吴春's avatar 吴春

提交

parent 9b4e3bd4
......@@ -1084,7 +1084,7 @@ namespace Mall.WebApi.Controllers.MallBase
query.TenantId = UserInfo.TenantId;
query.MallBaseId = parms.MallBaseId;
var list = guideCarModule.GetGuideCarList(query);
var result = list.Select(x => new { x.ID, x.Name, x.CarBrand, x.CarClass, x.CarLogo, ColorList = x.ColorList.Select(y => new { y.ColorName, y.PicList }), x.CarType });
var result = list.Select(x => new { x.ID, x.Name, x.CarBrand, x.CarClass, x.CarLogo, ColorList = x.ColorList.Select(y => new { y.ColorName, y.PicList ,y.ID}), x.CarType });
return ApiResult.Success("", result);
}
......
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