先设置配置
接口处进行第一次验证
file_get_contents('php://input'); 进行接收推送信息
大致的内容是这样的格式 图片类型:
{"msg":"{"ToUserName":"","FromUserName":"8c4c0581-75e9-4f3b-b083-e8192d641a79","CreateTime":1634280582610,"MsgType":"image","PicUrl":"https://p1-tt.byteimg.com/img/tos-cn-i-0000/a69829589dec4cb8bcb53b896c89049e~tplv-obj.image"}","msg_signature":"f4b9770646a67035672f6adc2fc9ff1161c008d9","nonce":"6120","timestamp":"1634280582"}