获取access_token使用的服务号里的appid和appsecret,能获取到
但调用POST https:
接口发送消息时报错:{"errcode":48001,"errmsg":"api unauthorized hints: [uiBd3cqge-LIVAOA!]"}
发送的消息:
{"touser":"用户的openid",
"mp_template_msg":
{"appid":"服务号的appid",
"template_id":"模板消息id",
"url":"",
"miniprogram":
{"appid":"小程序的appid","pagepath":"pages/home/main"},
"data":{"first":{"value":"恭喜你购买成功","color":"#3E96D6"},"keyword1":{"value":"审核通过1","color":"#3E96D6"},"keyword2":{"value":"审核通过2","color":"#3E96D6"},"keyword3":{"value":"审核通过3","color":"#3E96D6"},"keyword4":{"value":"审核通过4","color":"#3E96D6"},"remark":{"value":"审核通过4","color":"#3E96D6"}}}}
请问您解决了没了,我也遇到这个问题了,目前卡住了。