From dd5b15229cb15459fa7c31ccea77dac28cbfafbd Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 13 四月 2020 10:04:20 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div

---
 fanli/src/main/java/com/yeshi/fanli/service/manger/goods/jd/JDGoodsLinkParseManager.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/manger/goods/jd/JDGoodsLinkParseManager.java b/fanli/src/main/java/com/yeshi/fanli/service/manger/goods/jd/JDGoodsLinkParseManager.java
index f3348e9..f3f1307 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/manger/goods/jd/JDGoodsLinkParseManager.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/manger/goods/jd/JDGoodsLinkParseManager.java
@@ -4,6 +4,7 @@
 
 import org.springframework.stereotype.Component;
 
+import com.yeshi.fanli.util.RedisKeyEnum;
 import com.yeshi.fanli.util.RedisManager;
 import com.yeshi.fanli.util.StringUtil;
 import com.yeshi.fanli.util.jd.JDUtil;
@@ -27,7 +28,7 @@
 	 * @return
 	 */
 	public String parseGoodsIdByJDShortUrl(String shortLink) {
-		String key = "jd-link-to-goods-" + StringUtil.Md5(shortLink);
+		String key = RedisKeyEnum.getRedisKey(RedisKeyEnum.JDShortUrl, StringUtil.Md5(shortLink));
 		String value = redisManager.getCommonString(key);
 		if (!StringUtil.isNullOrEmpty(value)) {
 			return value;

--
Gitblit v1.8.0