|
@ -85,7 +85,7 @@ namespace BBWY.Server.Business |
|
|
orderType = "desc", |
|
|
orderType = "desc", |
|
|
pageSize = searchProductRequest.PageSize, |
|
|
pageSize = searchProductRequest.PageSize, |
|
|
pageNo = searchProductRequest.PageIndex, |
|
|
pageNo = searchProductRequest.PageIndex, |
|
|
field = "created" |
|
|
field = "created,logo" |
|
|
}; |
|
|
}; |
|
|
if (!string.IsNullOrEmpty(searchProductRequest.Spu)) |
|
|
if (!string.IsNullOrEmpty(searchProductRequest.Spu)) |
|
|
req_productList.wareId = searchProductRequest.Spu; |
|
|
req_productList.wareId = searchProductRequest.Spu; |
|
@ -109,7 +109,8 @@ namespace BBWY.Server.Business |
|
|
Title = p.Value<string>("title"), |
|
|
Title = p.Value<string>("title"), |
|
|
ProductItemNum = p.Value<string>("itemNum"), |
|
|
ProductItemNum = p.Value<string>("itemNum"), |
|
|
State = p.Value<int>("wareStatus"), |
|
|
State = p.Value<int>("wareStatus"), |
|
|
CreateTime = p.Value<long>("created").StampToDateTime() |
|
|
CreateTime = p.Value<long>("created").StampToDateTime(), |
|
|
|
|
|
Logo = $"https://img13.360buyimg.com/n9/s100x100_{p.Value<string>("logo")}" |
|
|
}).ToList() |
|
|
}).ToList() |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|