From 64a8f7a3be0a5584fe2164a2474b189c79cfab5c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 28 十二月 2019 18:15:39 +0800
Subject: [PATCH] 小程序接口初步建立

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/jd/JDGoodsServiceImpl.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/jd/JDGoodsServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/jd/JDGoodsServiceImpl.java
index 1ceee95..f4fd444 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/jd/JDGoodsServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/jd/JDGoodsServiceImpl.java
@@ -86,7 +86,7 @@
 
 	@Cacheable(value = "jdSpecialCache", key = "'specialSearch-'+#page+'-'+#cid")
 	@Override
-	@Transactional
+	@Transactional(rollbackFor=Exception.class)
 	public List<JDGoods> specialSearch(Integer page, Long cid) throws JDGoodsException {
 		if (cid == null) {
 			throw new JDGoodsException(1, "鍒嗙被id涓虹┖");
@@ -225,7 +225,7 @@
 			JDSearchFilter jdfilter = new JDSearchFilter();
 			jdfilter.setPageNo(page);
 			jdfilter.setPageSize(Constant.PAGE_SIZE);
-			result = JDUtil.searchByKey(jdfilter);
+			result =JDApiUtil.getJingFenGoods(page,15); //JDUtil.searchByKey(jdfilter);
 		}
 		if (result != null && result.getGoodsList() != null)
 			Collections.shuffle(result.getGoodsList());

--
Gitblit v1.8.0