Commit a4573ed8 by fanjiaxin

联调问题处理

parent a25b8b7e
Pipeline #71645 passed with stages
in 1 minute 4 seconds
...@@ -55,8 +55,10 @@ public class ProductServiceImpl implements IProductService { ...@@ -55,8 +55,10 @@ public class ProductServiceImpl implements IProductService {
@Override @Override
public PageVO<ProductListVO> getProductPageList(PageQuery pageQuery, String keyword) { public PageVO<ProductListVO> getProductPageList(PageQuery pageQuery, String keyword) {
PageVO<ProductListVO> pageVO = new PageVO<>(); PageVO<ProductListVO> pageVO = new PageVO<>();
log.info("商品列表查询开始:{}", System.currentTimeMillis());
WeChatPromoteProductListVO productListVO = weChatShopPromoteProductListRequest.handle(keyword, WeChatPromoteProductListVO productListVO = weChatShopPromoteProductListRequest.handle(keyword,
pageQuery.getNextKey(), pageQuery.getPageSize()); pageQuery.getNextKey(), pageQuery.getPageSize());
log.info("商品列表查询结束:{}", System.currentTimeMillis());
pageVO.setHasMore(false); pageVO.setHasMore(false);
// 商品列表 // 商品列表
if (!CollectionUtils.isEmpty(productListVO.getProduct_list())) { if (!CollectionUtils.isEmpty(productListVO.getProduct_list())) {
...@@ -133,6 +135,7 @@ public class ProductServiceImpl implements IProductService { ...@@ -133,6 +135,7 @@ public class ProductServiceImpl implements IProductService {
&& productList.size() >= pageQuery.getPageSize()); && productList.size() >= pageQuery.getPageSize());
pageVO.setNextKey(productListVO.getNext_key()); pageVO.setNextKey(productListVO.getNext_key());
} }
log.info("商品列表查询返回:{}", System.currentTimeMillis());
return pageVO; return pageVO;
} }
......
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