// 小程序appid
wxa8e14483c8185d1e
// 请求链接
https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=29_4NP-S_FFmKXTkYm5dvm_iCHEIFsnlCg8dH2GX3xrSyxmTx53BBdFwJRpi4uXIE_gIvVFHBSmeNHRRopjThm8Z8VGXG3sdsXUTSIzBsAePCh1QjNkUyLxBLmsf8GL7_xZLNJ2PizoH9qXGHHDIWPcACAAOH
// 请求参数
{"touser":"ofOYI0TQ6MYEn90kAaFz-zacKrfc","template_id":"MjZq0182NnOpYJ5xarJHH-ewydj0vU30ySDqBs-Uevg","data":{"thing4":{"value":"返利提醒"},"character_string2":{"value":"20011637221459"},"date6":{"value":"2020-01-16 08:48"},"thing3":{"value":"唯品会"},"thing1":{"value":"已跟单"}}}
// 返回错误
{"errcode":48001,"errmsg":"api unauthorized hints: [.eHa3zLCe-Z2OYcA!]"}
Token是不是过期了
你好,小程序的一次性订阅消息接口是这个https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html