-
Notifications
You must be signed in to change notification settings - Fork 130
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
腾讯的接口1004错误 #141
Comments
我也是...我去,折腾了一天了 |
@ahu 你是怎么修复的? |
@youngerrainbow 未及修复...先绕开了 |
@ahu 好像官方有兼容,是不是哪里调用不对? |
@youngerrainbow 只能等回头细看了:) |
@ahu post 格式不对,给成 json 数组用 数字key 就可以了,我测试ok了 |
@youngerrainbow 具体怎么改? |
@DreamboyA @youngerrainbow 我是直接修改了 QcloudAgent.php 把所有 'tel'=>$to 改为了 'tel' => ['nationcode' => '86', 'mobile' => $to] 解决的。另外需要注意的是template date 里定义的参数一定要跟你申请的模板一致 |
@ahu 多谢你的分享。这个问题,还需要把format_mobile 方法注释掉。 |
@dm521 @ahu 多谢分享,我修改QcloudAgent.php 中的formatMobile,可以正常发送
修改为:
|
出现1004错误
[{"driver":"Qcloud","time":{"started_at":"0.33102900 1507352277","finished_at":"0.60767200 1507352277"},"success":false,"result":{"info":"{\"result\":1004,\"errmsg\":\"package format errorcannot get \/tel\/mobile\"}","code":1004}}]
The text was updated successfully, but these errors were encountered: