|
@@ -54,7 +54,7 @@ public class ProductSourceServiceImpl extends ServiceImpl<IProductSourceMapper,
|
|
|
if(StringUtils.isNotBlank(param.getKeyword()) && param.getKeyword().contains(",")){
|
|
|
if(param.getPageNum() >1){
|
|
|
PageInfo pageInfo = PageInfo.PageInfo(param.getPageIndex(), 20L, 0L, new ArrayList<>());
|
|
|
- return ResultData.ok(pageInfo);
|
|
|
+ return pageInfo;
|
|
|
}
|
|
|
JSONArray ids = new JSONArray();
|
|
|
ids.addAll(Arrays.asList(param.getKeyword().split(",")));
|
|
@@ -65,7 +65,7 @@ public class ProductSourceServiceImpl extends ServiceImpl<IProductSourceMapper,
|
|
|
cdfProduct.setProductSource(productSource);
|
|
|
}
|
|
|
PageInfo pageInfo = PageInfo.PageInfo(param.getPageIndex(), (long) productCardList.size(), (long) productCardList.size(), productCardList);
|
|
|
- return ResultData.ok(pageInfo);
|
|
|
+ return pageInfo;
|
|
|
}
|
|
|
CdfProductListResponse productList = cdfHKClient.getProductList(productSource.getCdfHost(),productSource.getCdfMchId(),param);
|
|
|
if(productList.getSearchResult().getType() == 4 ){
|