We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
单公众号的 wx-java-mp-spring-boot-starter 可以通过自己编写 WxMpConfigStorage 的实现类,重写 isStableAccessToken() return true; 从而实现获取 StableAccessToken,但是多公众号的 wx-java-mp-multi-spring-boot-starter 里的默认配置类是 WxMpInMemoryConfiguration.class ,里面的 protected WxMpDefaultConfigImpl wxMpConfigStorage(WxMpMultiProperties wxCpMultiProperties) 方法没有 @ConditionalOnMissingBean(WxMpConfigStorage.class),不知道该如何把自己的实现类注入进去,我应该怎么给 multi-starter 里的每个公众号启用 StableAccessToken ?
The text was updated successfully, but these errors were encountered:
@foreveryang321 @binarywang 麻烦两位看一下
Sorry, something went wrong.
加了是否使用 StableAccessToken 的配置,等合并或者自己打包吧
# 多公众号配置 wx: mp: apps: 公众号1: use-stable-access-token: true 公众号2: use-stable-access-token: false # 单公众号配置 wx: mp: use-stable-access-token: true
加了是否使用 StableAccessToken 的配置,等合并或者自己打包吧 # 多公众号配置 wx: mp: apps: 公众号1: use-stable-access-token: true 公众号2: use-stable-access-token: false # 单公众号配置 wx: mp: use-stable-access-token: true
感谢,我先自己打包一下,等待合并
No branches or pull requests
单公众号的 wx-java-mp-spring-boot-starter 可以通过自己编写 WxMpConfigStorage 的实现类,重写 isStableAccessToken() return true; 从而实现获取 StableAccessToken,但是多公众号的 wx-java-mp-multi-spring-boot-starter 里的默认配置类是 WxMpInMemoryConfiguration.class ,里面的 protected WxMpDefaultConfigImpl wxMpConfigStorage(WxMpMultiProperties wxCpMultiProperties) 方法没有 @ConditionalOnMissingBean(WxMpConfigStorage.class),不知道该如何把自己的实现类注入进去,我应该怎么给 multi-starter 里的每个公众号启用 StableAccessToken ?
The text was updated successfully, but these errors were encountered: