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

HTTP请求返回响应内容都一样如何判断发送是否成功送达 #17

Open
AngeCoo opened this issue Jul 15, 2024 · 1 comment

Comments

@AngeCoo
Copy link

AngeCoo commented Jul 15, 2024

{
"status": 0,
"error": null,
"data": true
}

这段是http请求text接口返回的响应内容,不管推送是否成功好像都返回这个内容,比如我估计写一个 “wxid-5469999999999bucunzai”不存在的微信id,请求后返回的还是{"status":0,"error":null,"data":true},请求一下,http请求该如何判断消息是否已成功送达。多谢

@AngeCoo AngeCoo changed the title HTTP HTTP请求返回响应内容都一样如何判断发送是否成功送达 Jul 15, 2024
@lich0821
Copy link
Owner

成功调用了微信的接口,取的就是微信函数返回的结果;如果不成功,则会返回相应的错误。

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