-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
模板消息notice #21
Comments
@zsj1029 失败的话就是异常了 而不是 |
@zsj1029 以下代码在请求的时候,如果发送失败就会异常了: https://github.com/overtrue/wechat/blob/master/src/Wechat/Notice.php#L215-L217 |
正常传递,基本不会失败对吧 |
整个SDK 都是统一用异常形式报错的,你可以用try catch |
Closed
This was referenced Aug 28, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
建议
将send的返回值,返回全部,不要只是msgid
{
"errcode":0,
"errmsg":"ok",
"msgid":200228332
}
回头方便调用者处理发送过程的结果(不是微信告知用户是否收到)
The text was updated successfully, but these errors were encountered: