'version'=>2,
'scene'=>3
);
$data = http_build_query($data);
$url = 'https://api.weixin.qq.com /wxa/msg_sec_check?access_token='.$access_token;
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_HEADER,
) $ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_POST, 1);//POST提交 curl_setopt($ch,CURLOPT_POSTFIELDS,$data);//POST数据据); echo $result; curl_close($ch); 输出结果: data: {errcode: 47001, errmsg: 12b0307-8: 12b6c78 1"}