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

parse_response(response, as)不支持xml返回 #167

Closed
toby1024 opened this issue Dec 22, 2016 · 2 comments
Closed

parse_response(response, as)不支持xml返回 #167

toby1024 opened this issue Dec 22, 2016 · 2 comments

Comments

@toby1024
Copy link

调用微信企业红包时,微信的请求参数和返回参数都是xml格式,目前的格式默认为json

微信文档:https://pay.weixin.qq.com/wiki/doc/api/tools/cash_coupon.php?chapter=13_4&index=3

@Eric-Guo
Copy link
Owner

可以在content_type上添加一个xml头,然后在后面分析处理一下,目前我不在开发微信企业号,你方便提这个功能PR么?

@toby1024
Copy link
Author

已经提交

toby1024 referenced this issue in toby1024/wechat Dec 23, 2016
Eric-Guo added a commit that referenced this issue Dec 23, 2016
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