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; }