From b1d0eae0b98ca29089b30ab62e2c34606a6b304a Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期三, 08 一月 2020 14:48:02 +0800
Subject: [PATCH] Merge branch 'div' of ssh://193.112.35.168:29418/fanli-server into div

---
 fanli/src/main/java/com/yeshi/fanli/util/jd/JDApiUtil.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/util/jd/JDApiUtil.java b/fanli/src/main/java/com/yeshi/fanli/util/jd/JDApiUtil.java
index 30d3735..314b361 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/jd/JDApiUtil.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/jd/JDApiUtil.java
@@ -190,6 +190,20 @@
 		return null;
 	}
 
+	public static List<JDGoods> queryGoodsDetail(List<Long> skuIdList) {
+		JDFilter filter = new JDFilter();
+		filter.setPageIndex(1);
+		filter.setPageSize(20);
+		filter.setListId(skuIdList);
+		JDSearchResult searchResult = queryByKey(filter);
+		if (searchResult != null) {
+			List<JDGoods> list = searchResult.getGoodsList();
+			if (list != null && list.size() > 0)
+				return list;
+		}
+		return null;
+	}
+
 	/**
 	 * 閫氳繃鍟嗗搧鎼滅储鎺ュ彛鎵归噺鑾峰彇璇︽儏
 	 * 

--
Gitblit v1.8.0