yujian
2019-07-25 0cc3b905e5945d1b4b02ee5f91a615bcfd8f08d6
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/PinDuoDuoControllerV2.java
@@ -73,11 +73,23 @@
   public void getJDClass(AcceptData acceptData, PrintWriter out) {
      List<GoodsClass> list = new ArrayList<GoodsClass>();
      list.add(new GoodsClass(1L, "精选"));
      list.add(new GoodsClass(2L, "女装"));
      list.add(new GoodsClass(3L, "男装"));
      list.add(new GoodsClass(4L, "美妆"));
      list.add(new GoodsClass(5L, "美食"));
      list.add(new GoodsClass(6L, "居家"));
      list.add(new GoodsClass(2L, "清仓"));
      list.add(new GoodsClass(3L, "百货"));
      list.add(new GoodsClass(4L, "母婴"));
      list.add(new GoodsClass(5L, "食品"));
      list.add(new GoodsClass(6L, "女装"));
      list.add(new GoodsClass(7L, "电器"));
      list.add(new GoodsClass(8L, "鞋包"));
      list.add(new GoodsClass(9L, "内衣"));
      list.add(new GoodsClass(10L, "美妆"));
      list.add(new GoodsClass(11L, "男装"));
      list.add(new GoodsClass(12L, "汽车"));
      list.add(new GoodsClass(13L, "水果"));
      list.add(new GoodsClass(14L, "家居"));
      list.add(new GoodsClass(15L, "文具"));
      list.add(new GoodsClass(16L, "运动"));
      list.add(new GoodsClass(17L, "虚拟"));
      list.add(new GoodsClass(18L, "医药"));
      JSONObject root = new JSONObject();
      root.put("list", list);
      out.print(JsonUtil.loadTrueResult(root));
@@ -93,13 +105,13 @@
   public void getGoodsInfo(AcceptData acceptData, Integer cid, Integer page, PrintWriter out) {
      JSONObject root = new JSONObject();
      if (cid == 1 && page == 1) {
         List<SwiperPicture> topPicList = swiperPictureService.getByBannerCard("pdd_top");
         List<SwiperPicture> topPicList = swiperPictureService.getByBannerCard("pinduoduo_special_index");
         if (topPicList == null) {
            topPicList = new ArrayList<SwiperPicture>();
         }
         root.put("listPic", JsonUtil.getApiCommonGson().toJson(topPicList));
         
         List<Special> listSpecial = specialService.listByPlaceKey("index_block");
         List<Special> listSpecial = specialService.listByPlaceKey("pinduoduo_special_index");
         if (listSpecial == null) {
            listSpecial = new ArrayList<Special>();
         }