微信企业号开启回调模式--php
时间:2017-02-17 21:53:52
收藏:0
阅读:313
首先选择回头模式,然后生成Tokey EncodingAESKey。
把附件的代码上传到网站目录下。
然后修改 Sample.php ,最后验证就可以了。
include_once "WXBizMsgCrypt.php"; $encodingAesKey = "xxxxxxxxxxxxxxxxxxxxxxx"; //替换成上面生成的 $token = "xxxxxx"; //替换成上面生成的 $corpId = "xxxxxxxxxxxxxxxx"; //#替换成上面生成自己的corpID
本文出自 “何全” 博客,请务必保留此出处http://hequan.blog.51cto.com/5701886/1898947
评论(0)