From ba94d20eea2cc91a57f4ffed9f09ee0eb6352bfc Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期四, 01 八月 2019 17:55:53 +0800
Subject: [PATCH] Merge branch 'div' of ssh://193.112.35.168:29418/fanli-server into div

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/pdd/PDDGoodsServiceImpl.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/pdd/PDDGoodsServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/pdd/PDDGoodsServiceImpl.java
index 5aac226..b59cdd4 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/pdd/PDDGoodsServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/pdd/PDDGoodsServiceImpl.java
@@ -43,7 +43,7 @@
 		cidMap.put(15L, "2478");// 鏂囧叿
 		cidMap.put(16L, "1451");// 杩愬姩
 		cidMap.put(17L, "590");// 铏氭嫙
-		cidMap.put(18L, "3297");// 鍖昏嵂
+		cidMap.put(18L, "3279");// 鍖昏嵂
 	}
 	
 	
@@ -149,9 +149,9 @@
 	
 	
 	@Override
-	@Cacheable(value = "pddSpecialCache", key = "'getIndexPDDGoods-'+#page")
-	public PDDGoodsResult getIndexPDDGoods(int page) {
-		return PinDuoDuoApiUtil.getTopList(PinDuoDuoApiUtil.PID_FANLI, page-1, Constant.PAGE_SIZE, 1);
+	@Cacheable(value = "pddSpecialCache", key = "'getTopGoodsList-' + #page + '-' + #sortType")
+	public PDDGoodsResult getTopGoodsList(int page, Integer sortType) {
+		return PinDuoDuoApiUtil.getTopList(PinDuoDuoApiUtil.PID_FANLI, page, Constant.PAGE_SIZE, sortType);
 	}
 	
 }

--
Gitblit v1.8.0