admin
2021-01-25 2ba431be9c12a79783e0f9ef249292b7fa95f2a1
fanli/src/main/java/com/yeshi/fanli/service/impl/pdd/PDDGoodsServiceImpl.java
@@ -110,7 +110,7 @@
   }
   @Override
   @Transactional(rollbackFor=Exception.class)
   @Transactional(rollbackFor = Exception.class)
   @Cacheable(value = "pddSpecialCache", key = "'specialSearch-'+#page+'-'+#cid")
   public List<PDDGoodsDetail> specialSearch(Integer page, Long cid) throws PDDOrderException {
      if (cid == null) {
@@ -128,7 +128,7 @@
      if (cid == 1) {
         pddfilter.setPage(page);
         pddfilter.setPageSize(Constant.PAGE_SIZE);
         PDDGoodsResult result = PinDuoDuoApiUtil.searchGoods(pddfilter);
         PDDGoodsResult result = PinDuoDuoApiUtil.searchGoods(pddfilter,Constant.PDD_SEARCH_CUSTOMER_PARAMS);
         if (result == null) {
            return null;
         } else {
@@ -141,7 +141,7 @@
         pddfilter.setPage(page);
         pddfilter.setPageSize(Constant.PAGE_SIZE);
         pddfilter.setOptId(Long.parseLong(pddcid));
         PDDGoodsResult result = PinDuoDuoApiUtil.searchGoods(pddfilter);
         PDDGoodsResult result = PinDuoDuoApiUtil.searchGoods(pddfilter,Constant.PDD_SEARCH_CUSTOMER_PARAMS);
         if (result == null) {
            return null;
         } else {
@@ -159,7 +159,7 @@
         pddfilter.setPage(page);
         pddfilter.setPageSize(10);
         pddfilter.setOptId(Long.parseLong(arrayId[i]));
         PDDGoodsResult result = PinDuoDuoApiUtil.searchGoods(pddfilter);
         PDDGoodsResult result = PinDuoDuoApiUtil.searchGoods(pddfilter,Constant.PDD_SEARCH_CUSTOMER_PARAMS);
         if (result != null) {
            List<PDDGoodsDetail> listGoods = result.getGoodsList();
            if (listGoods != null && listGoods.size() > 0) {