admin
2020-07-14 eec7e789a87863c25d92c10ad5dfc22ad80c448d
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/CommonContentControllerV2.java
@@ -149,7 +149,7 @@
         result = guessLikeDeviceTB(idfa, imei, acceptData.getUtdid(), page);
      } else {
         // 大淘客页码只能为10,50,100,200
         result = commonTemplateContentService.getContentList(type, cid, page, 10);
         result = commonTemplateContentService.getContentList(type, cid, page, 10,acceptData.getSystem());
      }
      JSONObject root = new JSONObject();
@@ -166,7 +166,7 @@
         goodsList = result.getGoodsList();
      ConfigParamsDTO paramsDTO = orderHongBaoMoneyComputeService.getShowComputeRate(acceptData.getPlatform(),
            acceptData.getVersion());
            acceptData.getVersion(),acceptData.getSystem());
      for (TaoBaoGoodsBrief taoBaoGoodsBrief : goodsList) {
         GoodsDetailVO vo = GoodsDetailVOFactory.convertTaoBao(taoBaoGoodsBrief, paramsDTO);
         if (type == CommonContentTypeEnum.mianDan)// 免单商品
@@ -215,7 +215,7 @@
            Gson gson = JsonUtil.getConvertBigDecimalToStringSubZeroBuilder(new GsonBuilder())
                  .excludeFieldsWithoutExposeAnnotation().setDateFormat("yyyy-MM-dd").create();
            ConfigParamsDTO paramsDTO = orderHongBaoMoneyComputeService.getShowComputeRate(acceptData.getPlatform(),
                  acceptData.getVersion());
                  acceptData.getVersion(),acceptData.getSystem());
            for (JDGoods goods : goodsList) {
               array.add(gson.toJson(GoodsDetailVOFactory.convertJDGoods(goods, paramsDTO)));
@@ -244,7 +244,7 @@
         List<BannerVO> bannerList = null;
         if (Constant.IS_TEST) {
            bannerList = swiperPictureService.getByBannerCardAndVersion("index_top", acceptData.getPlatform(),
                  Integer.parseInt(acceptData.getVersion()));
                  Integer.parseInt(acceptData.getVersion()),acceptData.getSystem());
         }
         if (bannerList == null) {
@@ -266,7 +266,7 @@
            Gson gson = JsonUtil.getConvertBigDecimalToStringSubZeroBuilder(new GsonBuilder())
                  .excludeFieldsWithoutExposeAnnotation().setDateFormat("yyyy-MM-dd").create();
            ConfigParamsDTO paramsDTO = orderHongBaoMoneyComputeService.getShowComputeRate(acceptData.getPlatform(),
                  acceptData.getVersion());
                  acceptData.getVersion(),acceptData.getSystem());
            for (PDDGoodsDetail goods : goodsList) {
               array.add(gson.toJson(GoodsDetailVOFactory.convertPDDGoods(goods, paramsDTO)));