admin
2019-06-13 25295657ad6d1675462f0b6814366417bbda6d99
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/SearchController.java
@@ -95,7 +95,6 @@
   @Resource
   private TaoBaoShopService taoBaoShopService;
   
   @Resource
   private DaTaoKeGoodsDetailService daTaoKeGoodsDetailService;
@@ -420,7 +419,8 @@
      historySearchService.addHistorySearch(kw, bid);
//      BusinessSystem system = businessSystemService.getBusinessSystemCache(acceptData.getPlatform(),
      // BusinessSystem system =
      // businessSystemService.getBusinessSystemCache(acceptData.getPlatform(),
//            acceptData.getPackages());
//      if (system == null) {
//         out.print(JsonUtil.loadFalseResult("系统不存在"));
@@ -479,7 +479,8 @@
         }
         
         List<TaoBaoShopVO> listShop = taoBaoShopService.getShopByKey(kw);
         if (listShop != null && listShop.size() > 0) {
         if (listShop != null && listShop.size() > 0 && listShop.get(0).getListGoods() != null
               && listShop.get(0).getListGoods().size() > 2) {
            data.put("shop", JsonUtil.getApiCommonGson().toJson(listShop.get(0)));
         }
      }
@@ -962,7 +963,7 @@
      List<TaoBaoGoodsBriefExtra> listExtra = new ArrayList<TaoBaoGoodsBriefExtra>();
      BigDecimal proportion = manageService.getFanLiRate();
      DaTaoKeGoodsResult result = DaTaoKeApiUtil.search(key, null, page, 20, sort);
      DaTaoKeGoodsResult result = DaTaoKeApiUtil.search(key, null,null,null, page, 20, sort);
      if (result != null && result.getGoodsList() != null)
         for (DaTaoKeDetailV2 goods : result.getGoodsList()) {
            listExtra.add(