From 37194e2d4b4ab85f7f29c1e900c406afe294579a Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 13 八月 2019 12:17:48 +0800
Subject: [PATCH] 模拟请求缓存商品数据,淘礼金商品兼容多个appkey

---
 fanli/src/main/java/com/yeshi/fanli/controller/client/v2/GoodsControllerV2.java |    6 +++---
 1 files changed, 3 insertions(+), 3 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..b48198e 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();
@@ -808,7 +808,7 @@
 		extraVO.setShare(shareInfoVO);
 
 		if (convertUrl != null) {
-			extraVO.setCouponJumpLink(convertUrl.getShortUrl());
+			extraVO.setCouponJumpLink(convertUrl.getUrl());
 			extraVO.setNativeCouponJumpLink(PinDuoDuoUtil.getAndroidNativeURI(convertUrl.getUrl()));
 		}
 
@@ -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