微信企业号开启回调模式--php
首先选择回头模式,然后生成Tokey EncodingAESKey。
把附件的代码上传到网站目录下。
然后修改 Sample.php ,最后验证就可以了。
include_once "WXBizMsgCrypt.php"; $encodingAesKey = "xxxxxxxxxxxxxxxxxxxxxxx"; //替换成上面生成的 $token = "xxxxxx"; //替换成上面生成的 $corpId = "xxxxxxxxxxxxxxxx"; //#替换成上面生成自己的corpID
附件:http://down.51cto.com/data/2366439