We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a4314c commit 6ee07d6Copy full SHA for 6ee07d6
src/main/java/com/github/binarywang/demo/wx/miniapp/config/WxMaConfiguration.java
@@ -64,8 +64,9 @@ public void init() {
64
65
maServices = configs.stream()
66
.map(a -> {
67
-// WxMaDefaultConfigImpl config = new WxMaDefaultConfigImpl();
68
- WxMaDefaultConfigImpl config = new WxMaRedisConfigImpl(new JedisPool());
+ WxMaDefaultConfigImpl config = new WxMaDefaultConfigImpl();
+// WxMaDefaultConfigImpl config = new WxMaRedisConfigImpl(new JedisPool());
69
+ // 使用上面的配置时,需要同时引入jedis-lock的依赖,否则会报类无法找到的异常
70
config.setAppid(a.getAppid());
71
config.setSecret(a.getSecret());
72
config.setToken(a.getToken());
0 commit comments