From 4e4af90184f5fa5b40d87e2d08d9192bfd237ef0 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 30 四月 2021 19:13:58 +0800 Subject: [PATCH] 拼多多备案,京东、拼多多,唯品会,苏宁支持小程序跳转 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v2/PinDuoDuoControllerV2.java | 22 +++++++--------------- 1 files changed, 7 insertions(+), 15 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 642b8a1..6b2f4eb 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 @@ -6,11 +6,12 @@ import javax.annotation.Resource; +import com.yeshi.fanli.service.inter.pdd.PDDAuthService; import com.yeshi.fanli.util.pinduoduo.PinDuoDuoApiUtil; import com.yeshi.fanli.util.pinduoduo.PinDuoDuoUtil; import com.yeshi.fanli.vo.common.WXXCXJumpInfoVO; import com.yeshi.fanli.vo.pdd.PDDConvertLinkResultVO; -import com.yeshi.fanli.vo.pdd.PDDJumpLinkVO; +import com.yeshi.fanli.vo.goods.GoodsJumpLinkVO; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.yeshi.utils.JsonUtil; @@ -50,25 +51,16 @@ private OrderHongBaoMoneyComputeService orderHongBaoMoneyComputeService; @Resource - private TaoBaoGoodsBriefService taoBaoGoodsBriefService; - - @Resource - private JumpDetailV2Service jumpDetailV2Service; - - @Resource - private DaTaoKeGoodsService daTaoKeGoodsService; - - @Resource private SwiperPictureService swiperPictureService; - - @Resource - private QualityGoodsService qualityGoodsService; @Resource private SpecialService specialService; @Resource private PDDGoodsService pddGoodsService; + + @Resource + private PDDAuthService pddAuthService; /** @@ -144,9 +136,9 @@ pid = PinDuoDuoApiUtil.PID_SHARE; } - PDDConvertLinkResultVO authLink = PinDuoDuoApiUtil.getAuthLink(pid, PinDuoDuoUtil.getCustomParams(uid)); + PDDConvertLinkResultVO authLink = PinDuoDuoApiUtil.getAuthLink(pid, pddAuthService.getFanliCustomParams(uid)); - PDDJumpLinkVO pddJumpLinkVO = new PDDJumpLinkVO(); + GoodsJumpLinkVO pddJumpLinkVO = new GoodsJumpLinkVO(); pddJumpLinkVO.set_native(true); pddJumpLinkVO.setJumpLink(authLink.getMobile_url()); -- Gitblit v1.8.0