调用:https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=XXX
{
"touser": "oxUyg4t8cD5z2z9ksFh9n4HwRN0U",
"data": {
"phrase3": {
"value": "137515912124404"
},
"thing1": {
"value": "预约成功"
},
"phrase2": {
"value": "测试1111"
}
},
"template_id": "u9uN-ZqQGn8KyKTf121_5siogfj0N80y5pdyxJsDujk",
"page": "pages/list"
}
微信API接口返回:
{
"errcode": 47003,
"errmsg": "argument invalid! hint: [1JsVLA01082066] data.phrase3.value invalid"
}
发现部分用户发送成功,部分用户微信返回此信息,不知道什么原因?
描述错了,不好意思,用的就是新版本的订阅消息,https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html
构造的数据也正确,返回的错误提示描述说参数没有,已经传了的,麻烦帮忙排查一下
你好,小程序的模板消息已经下架了的https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/template-message.html
构造的数据也正确,返回的错误提示描述说参数没有,已经传了的,麻烦帮忙排查一下