From d1bf76bdf2c719ffb876ccb784ddc1365c583df3 Mon Sep 17 00:00:00 2001 From: sunyuchao Date: Thu, 29 Oct 2020 10:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96accesstoken=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/epmet/redis/WxmpMessageRedis.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/redis/WxmpMessageRedis.java b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/redis/WxmpMessageRedis.java index a0672e7d58..de157bccf8 100644 --- a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/redis/WxmpMessageRedis.java +++ b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/redis/WxmpMessageRedis.java @@ -2,6 +2,8 @@ package com.epmet.redis; import com.epmet.commons.tools.redis.RedisUtils; import lombok.extern.slf4j.Slf4j; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @@ -15,6 +17,7 @@ import java.util.Map; @Slf4j @Component public class WxmpMessageRedis { + private Logger logger = LoggerFactory.getLogger(getClass()); @Autowired private RedisUtils redisUtils; @@ -24,6 +27,7 @@ public class WxmpMessageRedis { * @author zxc */ public Map getAuthorizerRefreshToken(String key){ + logger.info("发送微信订阅消息,获取accesstoken的key值:" + key); Map result = redisUtils.hGetAll("epmet:wechartthird:authorizerrefreshtoken:" + key); return result; }