From cf9f918e7af7481432cfc93eaac38bcb3d4cbfd8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 11 九月 2019 15:23:10 +0800 Subject: [PATCH] 再返金额修改 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v2/JingDongControllerV2.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/JingDongControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/JingDongControllerV2.java index 1ef91ab..6e71c57 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/JingDongControllerV2.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/JingDongControllerV2.java @@ -27,8 +27,8 @@ import com.yeshi.fanli.service.inter.jd.JDGoodsService; import com.yeshi.fanli.service.inter.lable.QualityGoodsService; import com.yeshi.fanli.service.inter.taobao.dataoke.DaTaoKeGoodsService; +import com.yeshi.fanli.util.Constant; import com.yeshi.fanli.util.factory.goods.GoodsDetailVOFactory; -import com.yeshi.fanli.util.jd.JDApiUtil; import com.yeshi.fanli.vo.goods.GoodsDetailVO; import net.sf.json.JSONArray; @@ -102,7 +102,9 @@ } root.put("listPic", JsonUtil.getApiCommonGson().toJson(topPicList)); - List<Special> listSpecial = specialService.listByPlaceKey("jingdong_special_index"); + int platformCode = Constant.getPlatformCode(acceptData.getPlatform()); + + List<Special> listSpecial = specialService.listByPlaceKey("jingdong_special_index", platformCode, Integer.parseInt(acceptData.getVersion())); if (listSpecial == null) { listSpecial = new ArrayList<Special>(); } -- Gitblit v1.8.0