I just learned WeChat development . When modifying the server settings in the WeChat platform, I used the PHP of WeChat Demo, and the token verification failed at the beginning.
Solution: add header('content-type:text'); before echo $echoStr;, this can be verified successfully;