admin
2019-07-31 784af16411d97c3e14f81dd4ebf1380c8b9effb0
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/JingDongControllerV2.java
@@ -93,8 +93,7 @@
   @RequestMapping(value = "getGoodsInfo")
   public void getGoodsInfo(AcceptData acceptData, Long cid, Integer page, PrintWriter out) {
      JSONObject root = new JSONObject();
//      if (cid == 1 && page == 1) {
      if (page == 1) {
      if (cid == 1 && page == 1) {
         List<SwiperPicture> topPicList = swiperPictureService.getByBannerCard("jingdong_special_index");
         if (topPicList == null) {
            topPicList = new ArrayList<SwiperPicture>();
@@ -117,8 +116,7 @@
            Gson gson = JsonUtil.getConvertBigDecimalToStringSubZeroBuilder(new GsonBuilder())
                  .excludeFieldsWithoutExposeAnnotation().setDateFormat("yyyy-MM-dd").create();
            for (JDGoods goods : goodsList) {
               GoodsDetailVO goodsDetailVO = GoodsDetailVOFactory.convertJDGoods(goods, null, fanLiRate,
                     shareRate);
               GoodsDetailVO goodsDetailVO = GoodsDetailVOFactory.convertJDGoods(goods, fanLiRate,   shareRate);
               array.add(gson.toJson(goodsDetailVO));
            }
         }