{"errcode":48001,"errmsg":"api unauthorized hints: [AHbauSeNRa-O4cbVA!]"}
步骤:
1.接口https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential 传入小程序ID和密钥,获取access_token,
2.调用https://api.weixin.qq.com/cgi-bin/message/template/send?access_token={0},发送数据
3.数据
你好,订阅消息接口是这个哈:
https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html