From 1c23d47c352ef57bbd4a59e00d4d5b4585853f1e Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 15 十月 2020 09:53:25 +0800
Subject: [PATCH] 拼多多搜索bug

---
 fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/GoodsController.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/GoodsController.java b/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/GoodsController.java
index 0e708d4..d1b8e07 100644
--- a/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/GoodsController.java
+++ b/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/GoodsController.java
@@ -61,7 +61,7 @@
 import com.yeshi.fanli.service.inter.user.UserInfoService;
 import com.yeshi.fanli.service.inter.user.UserShareGoodsRecordService;
 import com.yeshi.fanli.service.inter.user.vip.UserVIPInfoService;
-import com.yeshi.fanli.tag.PageEntity;
+import com.yeshi.common.entity.PageEntity;
 import com.yeshi.fanli.util.cache.JDGoodsCacheUtil;
 import com.yeshi.fanli.util.cache.PinDuoDuoCacheUtil;
 import com.yeshi.fanli.util.factory.CommonGoodsFactory;
@@ -515,7 +515,7 @@
 		CouponInfoVO couponInfo = goodsDetail.getCouponInfo();
 		PDDPromotionUrl convertUrl = null;
 		if (couponInfo != null) {
-			convertUrl = PinDuoDuoApiUtil.convert(id, PinDuoDuoApiUtil.PID_COUPON + "", null);
+			convertUrl = PinDuoDuoApiUtil.convert(id, PinDuoDuoApiUtil.PID_COUPON + "", null,false);
 			if (convertUrl != null)
 				couponInfo.setLink(convertUrl.getUrl());
 		}
@@ -678,7 +678,7 @@
 					Long[] strings = new Long[goodsIdList.size()];
 					pddfilter.setGoodsIdList(goodsIdList.toArray(strings));
 
-					PDDGoodsResult result = PinDuoDuoApiUtil.searchGoods(pddfilter);
+					PDDGoodsResult result = PinDuoDuoApiUtil.searchGoods(pddfilter,Constant.PDD_SEARCH_CUSTOMER_PARAMS);
 					if (result != null) {
 						List<PDDGoodsDetail> goodsList = result.getGoodsList();
 						if (goodsList != null && goodsList.size() > 0) {

--
Gitblit v1.8.0