首先选择回头模式,然后生成Tokey EncodingAESKey。 把附件的代码上传到网站目录下。 然后修改 Sample.php ,最后验证就可以了。 1 2 3 4 5 6 7 include_once "WXBizMsgCrypt.php" ; $encodingAesKey = "xxxxxxxxxxxxxxxxxxxxxxx" ; / / 替换成上面生成的 $token = "xxxxxx" ; / / 替换成上面生成的 $corpId = "xxxxxxxxxxxxxxxx" ; / / #替换成上面生成自己的corpID 附件:http://down.51cto.com/data/2366439 本文转自 295631788 51CTO博客,原文链接:http://blog.51cto.com/hequan/1898947,如需转载请自行联系原作者