Skip to content

Commit 6ee07d6

Browse files
committed
🎨 加点注释
1 parent 4a4314c commit 6ee07d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/com/github/binarywang/demo/wx/miniapp/config/WxMaConfiguration.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ public void init() {
6464

6565
maServices = configs.stream()
6666
.map(a -> {
67-
// WxMaDefaultConfigImpl config = new WxMaDefaultConfigImpl();
68-
WxMaDefaultConfigImpl config = new WxMaRedisConfigImpl(new JedisPool());
67+
WxMaDefaultConfigImpl config = new WxMaDefaultConfigImpl();
68+
// WxMaDefaultConfigImpl config = new WxMaRedisConfigImpl(new JedisPool());
69+
// 使用上面的配置时,需要同时引入jedis-lock的依赖,否则会报类无法找到的异常
6970
config.setAppid(a.getAppid());
7071
config.setSecret(a.getSecret());
7172
config.setToken(a.getToken());

0 commit comments

Comments
 (0)