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
在MP_Quick Start里提到, WxMpService 需要在实际项目中保持单例, 请问是否可以使用WxJava同时管理对接多个公众号,如何使用?
WxMpDefaultConfigImpl config = new WxMpDefaultConfigImpl(); config.setAppId("..."); // 设置微信公众号的appid config.setSecret("..."); // 设置微信公众号的app corpSecret config.setToken("..."); // 设置微信公众号的token config.setAesKey("..."); // 设置微信公众号的EncodingAESKey
WxMpService wxService = new WxMpServiceImpl();// 实际项目中请注意要保持单例,不要在每次请求时构造实例,具体可以参考demo项目 wxService.setWxMpConfigStorage(config);
The text was updated successfully, but these errors were encountered:
不是有对应的demo吗?
Sorry, something went wrong.
No branches or pull requests
简要描述
在MP_Quick Start里提到,
WxMpService 需要在实际项目中保持单例,
请问是否可以使用WxJava同时管理对接多个公众号,如何使用?
WxMpDefaultConfigImpl config = new WxMpDefaultConfigImpl();
config.setAppId("..."); // 设置微信公众号的appid
config.setSecret("..."); // 设置微信公众号的app corpSecret
config.setToken("..."); // 设置微信公众号的token
config.setAesKey("..."); // 设置微信公众号的EncodingAESKey
WxMpService wxService = new WxMpServiceImpl();// 实际项目中请注意要保持单例,不要在每次请求时构造实例,具体可以参考demo项目
wxService.setWxMpConfigStorage(config);
The text was updated successfully, but these errors were encountered: