From a586d0e3e0d554f5468afb9d0d25f379a039c4b7 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 22 十二月 2018 10:50:53 +0800 Subject: [PATCH] 收藏时间返回修改 --- fanli/src/main/java/com/yeshi/fanli/controller/client/RecommendController.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/RecommendController.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/RecommendController.java index ca8829f..fc1932f 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/RecommendController.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/RecommendController.java @@ -703,7 +703,15 @@ data.put("tbPidInfo", clientTBPid); JSONObject taobaoJson = JSONObject.fromObject(gson.toJson(taoBaoGoodsBriefExtra)); + if (taoBaoGoodsBriefExtra.getImgList() != null) + taoBaoGoodsBriefExtra.getImgList().add(0, taoBaoGoodsBriefExtra.getPictUrl()); taobaoJson.put("imgList", taoBaoGoodsBriefExtra.getImgList()); + taobaoJson.put("saleCount", taoBaoGoodsBriefExtra.getSalesCount());// 閿�閲忥紙鍜宻alesCount涓�鑷达紝姝ゅ澶勭悊鍏煎锛� + if (taoBaoGoodsBriefExtra.getTaoBaoQuanInfo() != null) + taobaoJson.put("coupon", true); + else + taobaoJson.put("coupon", false); + // taoBaoGoodsBriefExtra.setAuctionUrl(null); data.put("taobao", taobaoJson); String info = configService.get("detail_prompt"); -- Gitblit v1.8.0