admin
2020-07-14 eec7e789a87863c25d92c10ad5dfc22ad80c448d
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/SuningControllerV2.java
@@ -75,7 +75,7 @@
      JSONObject root = new JSONObject();
      if (cid == 1 && page == 1) {
         List<BannerVO> topPicList = swiperPictureService.getByBannerCardAndVersion("suning_banner_index",
               acceptData.getPlatform(), Integer.parseInt(acceptData.getVersion()));
               acceptData.getPlatform(), Integer.parseInt(acceptData.getVersion()),acceptData.getSystem());
         if (topPicList == null) {
            topPicList = new ArrayList<BannerVO>();
         }
@@ -84,7 +84,7 @@
         int platformCode = Constant.getPlatformCode(acceptData.getPlatform());
         List<Special> listSpecial = specialService.listByPlaceKey("suning_special_index", platformCode,
               Integer.parseInt(acceptData.getVersion()));
               Integer.parseInt(acceptData.getVersion()),acceptData.getSystem());
         if (listSpecial == null) {
            listSpecial = new ArrayList<Special>();
         }
@@ -97,7 +97,7 @@
         JSONArray array = new JSONArray();
         if (goodsList != null && goodsList.size() > 0) {
            ConfigParamsDTO paramsDTO = orderHongBaoMoneyComputeService.getShowComputeRate(acceptData.getPlatform(),
                  acceptData.getVersion());
                  acceptData.getVersion(),acceptData.getSystem());
            Gson gson = JsonUtil.getConvertBigDecimalToStringSubZeroBuilder(new GsonBuilder())
                  .excludeFieldsWithoutExposeAnnotation().setDateFormat("yyyy-MM-dd").create();
@@ -111,6 +111,7 @@
         root.put("count", 1000);
         out.print(JsonUtil.loadTrueResult(root));
      } catch (Exception e) {
         e.printStackTrace();
         out.print(JsonUtil.loadFalseResult("获取出错"));
      }
   }