Home >Backend Development >PHP Tutorial >WeChat Development Reply What does success mean?

WeChat Development Reply What does success mean?

WBOY
WBOYOriginal
2016-10-23 00:12:533178browse

This is what the WeChat development documentation says

WeChat Development Reply What does success mean?

But what does this mean? How to reply to success? How to reply with empty string?

I searched everything on the Internet, but they only excerpted this paragraph and did not explain how to operate it.
Could you please write some code? I really don’t know what this means. Thanks.

Reply content:

This is what the WeChat development documentation says

WeChat Development Reply What does success mean?

But what does this mean? How to reply to success? How to reply with empty string?

I searched everything on the Internet, but they only excerpted this paragraph and did not explain how to operate it.
Could you please write some code? I really don’t know what this means. Thanks.

If you push normally, your return code should be an xml containing the content of your reply.
When you don’t want to reply to the message or cannot respond within 5 seconds, you should directly reply with a success or an empty string.
Note that success here means only outputting this thing, which is equivalent to echo ‘success’; it is not an xml with the reply content being success

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn