From 0cc3b905e5945d1b4b02ee5f91a615bcfd8f08d6 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期四, 25 七月 2019 11:44:10 +0800 Subject: [PATCH] 京东兼容 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v2/PinDuoDuoControllerV2.java | 26 +++++++++++++++++++------- 1 files changed, 19 insertions(+), 7 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/PinDuoDuoControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/PinDuoDuoControllerV2.java index 1894632..6426b3c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/PinDuoDuoControllerV2.java +++ b/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("index_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("pinduoduo_special_top"); + List<Special> listSpecial = specialService.listByPlaceKey("pinduoduo_special_index"); if (listSpecial == null) { listSpecial = new ArrayList<Special>(); } -- Gitblit v1.8.0