From 145a6efab30d7a0acb76eee6cd512eba93665efe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 05 十二月 2020 17:19:40 +0800 Subject: [PATCH] 大淘客编码问题解决,mybatis优化 --- fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/GoodsEvaluateServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/GoodsEvaluateServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/GoodsEvaluateServiceImpl.java index 7328cbc..dd156d1 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/GoodsEvaluateServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/GoodsEvaluateServiceImpl.java @@ -556,7 +556,7 @@ couponUrl = couponInfo.getLink(); } String materialId = "https://item.jd.com/" + goodsId + ".html"; - String jumpLink = JDApiUtil.convertLinkWithSubUnionId(materialId, couponUrl, + String jumpLink = JDApiUtil.convertLinkWithSubUnionId(materialId, couponUrl,null, JDApiUtil.POSITION_SHARE + "", "1"); String template = configService.getValue(ConfigKeyEnum.quickShareJDCommentText.getKey(), system); if (jumpLink == null) { @@ -624,7 +624,7 @@ couponUrl = couponInfo.getLink(); } String materialId = "https://item.jd.com/" + goodsDetailVO.getGoodsId() + ".html"; - String jumpLink = JDApiUtil.convertLinkWithSubUnionId(materialId, couponUrl, JDApiUtil.POSITION_SHARE + "", + String jumpLink = JDApiUtil.convertLinkWithSubUnionId(materialId, couponUrl, null,JDApiUtil.POSITION_SHARE + "", "1"); String template = configService.getValue(ConfigKeyEnum.quickShareJDCommentText.getKey(), system); commentText = template.replace("[閾炬帴]", jumpLink); -- Gitblit v1.8.0