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

🐛 修复无效引用代码

dev1
Binary Wang 5 лет назад
Родитель
Сommit
f101374a6e
1 измененных файлов: 2 добавлений и 3 удалений
  1. +2
    -3
      weixin-java-mp/src/main/java/me/chanjar/weixin/mp/config/impl/WxMpRedisConfigImpl.java

+ 2
- 3
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/config/impl/WxMpRedisConfigImpl.java Просмотреть файл

@@ -1,6 +1,5 @@
package me.chanjar.weixin.mp.config.impl; package me.chanjar.weixin.mp.config.impl;


import com.sun.istack.internal.NotNull;
import me.chanjar.weixin.mp.config.redis.JedisWxMpRedisOps; import me.chanjar.weixin.mp.config.redis.JedisWxMpRedisOps;
import me.chanjar.weixin.mp.config.redis.WxMpRedisOps; import me.chanjar.weixin.mp.config.redis.WxMpRedisOps;
import me.chanjar.weixin.mp.enums.TicketType; import me.chanjar.weixin.mp.enums.TicketType;
@@ -30,11 +29,11 @@ public class WxMpRedisConfigImpl extends WxMpDefaultConfigImpl {
private String accessTokenKey; private String accessTokenKey;
private String lockKey; private String lockKey;


public WxMpRedisConfigImpl(@NotNull JedisPool jedisPool) {
public WxMpRedisConfigImpl(JedisPool jedisPool) {
this(new JedisWxMpRedisOps(jedisPool), "wx"); this(new JedisWxMpRedisOps(jedisPool), "wx");
} }


public WxMpRedisConfigImpl(@NotNull WxMpRedisOps redisOps, @NotNull String keyPrefix) {
public WxMpRedisConfigImpl(WxMpRedisOps redisOps, String keyPrefix) {
this.redisOps = redisOps; this.redisOps = redisOps;
this.keyPrefix = keyPrefix; this.keyPrefix = keyPrefix;
} }


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