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

企业号相关的接口有吗? #216

Open
evanyangg opened this issue Nov 3, 2019 · 3 comments
Open

企业号相关的接口有吗? #216

evanyangg opened this issue Nov 3, 2019 · 3 comments

Comments

@evanyangg
Copy link

如题:
https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=ID&corpsecret=SECRET
https://qyapi.weixin.qq.com/cgi-bin/user/getuserinfo?access_token=ACCESS_TOKEN&code=CODE
虽然跟服务号相似,有专门的企业号接口吗?

@liyiorg
Copy link
Owner

liyiorg commented Nov 4, 2019

企业号的接口与公众号接口大同小异,可以使用wexin-popular 的client 与 工程结构,开发一个企业号专用的模块。

@evanyangg
Copy link
Author

@liyiorg 如果想PR 企业的接口是在原有基础上加类型判断 还是新建一个api呢?

@liyiorg
Copy link
Owner

liyiorg commented Nov 6, 2019

新建工程,pom 依赖 wexin-popular 。 参考 wexin-popular 中的包结构与接口定义格式,新建接口。

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