File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/config/impl Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 11package me .chanjar .weixin .mp .config .impl ;
22
33import lombok .Data ;
4- import me .chanjar .weixin .common .redis .JedisWxRedisOps ;
5- import me .chanjar .weixin .common .redis .WxRedisOps ;
4+ import lombok .EqualsAndHashCode ;
65import me .chanjar .weixin .common .enums .TicketType ;
7- import redis . clients . jedis . JedisPool ;
6+ import me . chanjar . weixin . common . redis . WxRedisOps ;
87
98import java .util .concurrent .TimeUnit ;
109
1918 * @author nickwong
2019 */
2120@ Data
22- @ SuppressWarnings ( "hiding" )
21+ @ EqualsAndHashCode ( callSuper = false )
2322public class WxMpRedisConfigImpl extends WxMpDefaultConfigImpl {
2423 private static final long serialVersionUID = -988502871997239733L ;
2524
@@ -33,10 +32,6 @@ public class WxMpRedisConfigImpl extends WxMpDefaultConfigImpl {
3332 private String accessTokenKey ;
3433 private String lockKey ;
3534
36- public WxMpRedisConfigImpl (JedisPool jedisPool ) {
37- this (new JedisWxRedisOps (jedisPool ), "wx" );
38- }
39-
4035 public WxMpRedisConfigImpl (WxRedisOps redisOps , String keyPrefix ) {
4136 this .redisOps = redisOps ;
4237 this .keyPrefix = keyPrefix ;
You can’t perform that action at this time.
0 commit comments