Authored by caoyan

二手商品搜索列表

... ... @@ -375,10 +375,11 @@ public class ProductSearchController {
@IgnoreSession
@Cachable(expire = 600)
public ApiResponse searchSecondhandSkupList(@RequestParam(value = "preSale_flag", required = false)Integer preSaleFlag,
@RequestParam(value = "productPool", required = false) String productPool,
@RequestParam(value = "limit", required = false)Integer limit,
@RequestParam(value = "page", required = false)Integer page) {
LOG.info("in method=ufo.product.search.secondhand.skupList preSale_flag={}", preSaleFlag);
ProductSearchReq req = new ProductSearchReq().setViewNum(limit).setPage(page).setPreSaleFlag(preSaleFlag);
ProductSearchReq req = new ProductSearchReq().setViewNum(limit).setPage(page).setPreSaleFlag(preSaleFlag).setPool(productPool);
JSONObject resp = productSearchService.searchSecondhandSkupList(req);
return new ApiResponse.ApiResponseBuilder().code(200).message("secondhand skupList.").data(resp).build();
}
... ...