From 3fc84b5d4b36ce9ab5cea84ee1b54942c8e04ef9 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 08 八月 2019 16:55:52 +0800
Subject: [PATCH] 拼多多短链修改

---
 fanli/src/main/java/com/yeshi/fanli/controller/client/v2/GoodsControllerV2.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/GoodsControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/GoodsControllerV2.java
index 5d8e22c..dc15224 100644
--- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/GoodsControllerV2.java
+++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/GoodsControllerV2.java
@@ -720,7 +720,7 @@
 		if (couponInfo != null) {
 			convertUrl = PinDuoDuoApiUtil.convert(id, PinDuoDuoApiUtil.PID_COUPON + "", null);
 			if (convertUrl != null)
-				couponInfo.setLink(convertUrl.getShortUrl());
+				couponInfo.setLink(convertUrl.getUrl());
 		}
 
 		ShopInfoVO shopInfo = goodsDetail.getShopInfo();
@@ -1081,7 +1081,7 @@
 		PDDPromotionUrl convertUrl = PinDuoDuoApiUtil.convert(id, PinDuoDuoApiUtil.PID_FANLI + "", uid + "");
 		JSONObject data = new JSONObject();
 		data.put("native", true);
-		data.put("jumpLink", convertUrl.getShortUrl());
+		data.put("jumpLink", convertUrl.getUrl());
 		data.put("nativeJumpLink", PinDuoDuoUtil.getAndroidNativeURI(convertUrl.getUrl()));
 		out.print(JsonUtil.loadTrueResult(data));
 	}

--
Gitblit v1.8.0