$token=getAccessToken();
// $url="https://api.weixin.qq.com/cgi-bin/message/custom/business/send?access_token=".$token;
$url="https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=".$token;
$data["touser"]="OPENID";
$data["msgtype"]="text";
$data["text"]=array("content"=>"hello word");
$result=curlPost($url,json_encode($data));
dump($result);
b报错45015
你好,参考https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Service_Center_messages.html 动作说明