Просмотр исходного кода

[TOKEN][修改]:token更新

release
Stormeye Wu 7 лет назад
Родитель
Сommit
dc8735daa8
1 измененных файлов: 9 добавлений и 0 удалений
  1. +9
    -0
      mlWechatOpen/src/main/java/com/iformall/service/wechat/WxOpenInRedisDBConfigStorage.java

+ 9
- 0
mlWechatOpen/src/main/java/com/iformall/service/wechat/WxOpenInRedisDBConfigStorage.java Просмотреть файл

@@ -53,6 +53,12 @@ public class WxOpenInRedisDBConfigStorage extends WxOpenInMemoryConfigStorage {

public WxOpenInRedisDBConfigStorage(Pool<Jedis> jedisPool) {
this.jedisPool = jedisPool;
if(wxAuthorizerInfoMapper == null) {
logger.info("wxAuthorizerInfoMapper is null");
}
if(wxComponentVerifyTicketMapper == null) {
logger.info("wxComponentVerifyTicketMapper is null");
}
}

public WxOpenInRedisDBConfigStorage(Pool<Jedis> jedisPool, String keyPrefix) {
@@ -142,6 +148,9 @@ public class WxOpenInRedisDBConfigStorage extends WxOpenInMemoryConfigStorage {
try (Jedis jedis = this.jedisPool.getResource()) {
jedis.set(this.getKey(this.authorizerRefreshTokenKey, appId), authorizerRefreshToken);

if(wxAuthorizerInfoMapper==null) {
logger.info("sjaslflafla");
}
logger.info(appId);
logger.info(authorizerRefreshToken);



Загрузка…
Отмена
Сохранить