随笔分类 -  微信公众号开发

摘要:第一步:接收微信发来的xml数据 有以下两种方式 $xml = $GLOBALS['HTTP_RAM_POST_DATA'];// php7 版本以上不能使用 $xml = file_get_contents('php://input'); 第二步:对接收过来的数据进行处理 libxml_disab 阅读全文
posted @ 2023-10-26 19:02 海燕心海 阅读(213) 评论(0) 推荐(0)
摘要:官网文档 https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Access_Overview.html php 示例代码 public function index() { $signature = $_GET["si 阅读全文
posted @ 2023-05-08 22:56 海燕心海 阅读(103) 评论(0) 推荐(0)