求助啊!!!太坑了,弄了一天 测试号都配置好了始终报错
{"errcode":48001,"errmsg":"api unauthorized rid: 60d15768-10a97066-75a3a5bb"}
appid和appsecter
openid
access_token
获取access_token没有什么问题 但是下发模板消息是始终报错 48001
代码如下:
$url = "https://api.weixin.qq.com/cgi-bin/message/subscribe/bizsend?access_token=".$access_token;
$data = array(
"access_token" => $access_token,
"touser" => $openid,
"template_id" => $template_id,
"data" => array(
"first" => array("value" => "测试" ),
"keyword1" => array("value" => "测试" ),
"keyword2" => array("value" => "测试" ),
"remark" => array("value" => "测试" ),
)
);
有没有官方或者踩过坑的同学帮帮忙!!