From 626d711cb15896055c13fe344eb7fcc824589715 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期四, 19 十二月 2019 15:38:42 +0800
Subject: [PATCH] 帮助中心

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TLJFreeBuyGoodsServiceImpl.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TLJFreeBuyGoodsServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TLJFreeBuyGoodsServiceImpl.java
index cf91a92..e2794ad 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TLJFreeBuyGoodsServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TLJFreeBuyGoodsServiceImpl.java
@@ -71,7 +71,7 @@
 	}
 
 	
-	@Cacheable(value = "commonContentCache", key = "'tljFreeBuy-listByDay'+#day")
+	//@Cacheable(value = "commonContentCache", key = "'tljFreeBuy-listByDay'+#day")
 	@Override
 	public List<TLJFreeBuyGoods> listByDay(String day) {
 		List<TLJFreeBuyGoods> list = listByDay(day, 10);
@@ -164,7 +164,10 @@
 	public List<TaoBaoGoodsBrief> listPreGoods(String key ,int page) {
 		List<TaoBaoGoodsBrief> goodsList = new ArrayList<>();
 		// 澶ф窐瀹㈢瓫閫夛細 鍒稿悗浠� 1-2鍖洪棿 銆佺患鍚堟帓搴�
-		DaTaoKeGoodsResult result = DaTaoKeApiUtil.search(key, null, new BigDecimal(1), new BigDecimal(2), 1, page, 100, 0);
+//		DaTaoKeGoodsResult result = DaTaoKeApiUtil.search(key, null, new BigDecimal(1), new BigDecimal(2), 1, page, 100, 0);
+		DaTaoKeGoodsResult result = DaTaoKeApiUtil.getGoodsList(key, null, new BigDecimal(1), new BigDecimal(2), 1, page, 100, 0);
+
+		
 		if (result != null && result.getGoodsList() != null) {
 			for (DaTaoKeDetailV2 v2 : result.getGoodsList())
 				goodsList.add(TaoBaoUtil.convert(v2));

--
Gitblit v1.8.0