Skip to content
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

Closed
nullsz opened this issue Nov 1, 2016 · 4 comments
Closed

如何支持多个订阅号? #72

nullsz opened this issue Nov 1, 2016 · 4 comments

Comments

@nullsz
Copy link

nullsz commented Nov 1, 2016

如何支持多个订阅号?使用springboot

@binarywang
Copy link
Member

binarywang commented Nov 1, 2016

参考demo,有一个用spring mvc实现的https://github.com/wechat-group/weixin-mp-multi-demo ,你自己仿照做就行了

@nullsz
Copy link
Author

nullsz commented Nov 1, 2016

@binarywang 这个demo不是我想要的 我要支持的公众很多,这个demo针对每个公众号都要有一个config , service controller... 我的初步想法是封装一个WxMpConfigStorageManage 和 WxMpServiceManage 里面包含多个公众号的配置,由appid来关联,controller我可以写一个或 多个 , 你觉得这种方式怎么样?

@binarywang
Copy link
Member

你可以使用动态代理生成那些东西,不过感觉你的需求可能借助于第三方平台实现会更好些,建议你去看看相关文档吧

@nullsz
Copy link
Author

nullsz commented Nov 1, 2016

@binarywang 谢谢你了,第三方平台考虑过,但是和公司业务差距太大!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants