-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
微信营销接口实现与文档描述不一致 #1095
Comments
@007gzs 帮忙看下这个是不是由于微信接口调整导致的? |
action_time 应该是当时写错了,leads_type是新增参数,我改下 |
@007gzs 什么时间能修复下? |
没事,不用了,我来修复 |
binarywang
added a commit
that referenced
this issue
Jul 14, 2019
@007gzs leads_type这个参数没找到,其他部分我准备先修复下了 |
3.4.7.B测试版本 已修复,欢迎试用 |
抱歉这功能前段时间上线了,现在不敢在生产环境DEBUG,不过 ”请求头缺少 application/json“是肯定会返回错误的,代码里配置的okhttp默认的好像是 "plain/text",这个请求头不影响公众号的接口请求,但微信广告接口不带的话就直接报错。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
简要描述
MarketingService模块实现与文档描述不一致,
addUserAction
接口根本无法正常使用模块版本情况
期待结果 和 实际情况
官方文档
请求示例中数据格式为
通过API调用后的JSON
返回结果
原因分析:
1、
action_time
类型为Unix时间戳Integer型,现在被定义为了Boolean型2、
action_type
没有被塞到请求的JSON对象中3、请求对象最外层是个Json对象,不是数组,对象中的
actions
的内容对应这个数组4、请求头缺少
application/json
重现步骤
业务代码
结果
日志
The text was updated successfully, but these errors were encountered: