forked from chanjarster/weixin-java-tools
-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
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
如何支持多个订阅号? #72
Comments
参考demo,有一个用spring mvc实现的https://github.com/wechat-group/weixin-mp-multi-demo ,你自己仿照做就行了 |
@binarywang 这个demo不是我想要的 我要支持的公众很多,这个demo针对每个公众号都要有一个config , service controller... 我的初步想法是封装一个WxMpConfigStorageManage 和 WxMpServiceManage 里面包含多个公众号的配置,由appid来关联,controller我可以写一个或 多个 , 你觉得这种方式怎么样? |
你可以使用动态代理生成那些东西,不过感觉你的需求可能借助于第三方平台实现会更好些,建议你去看看相关文档吧 |
@binarywang 谢谢你了,第三方平台考虑过,但是和公司业务差距太大! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如何支持多个订阅号?使用springboot
The text was updated successfully, but these errors were encountered: