{"FromUserName":{"0":"o0MAAxA7QAiBNXz_2eJixvkZoAic"},"ToUserName":{"0":"**********"},"CreateTime":{"0":"1592379481"},"MsgType":{"0":"event"},"Event":{"0":"VIEW"},"EventKey":{"0":"http:\/\/***********"}}
很奇怪,之前一直是这样获取openid $sOpenId = $aPostMsg['FromUserName']; 突然不行了,这个数组键是怎么来的,而且有的账号有有的没有。
微信带参二维码
你好,请参考开发文档:https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_event_pushes.html