微信小程序可以使用微信公众号的模板消息推送吗? 我推送了之后一直显示{"errcode":40003,"errmsg":"invalid openid hint: [bHidoHnre-thHjka]"}
还是说微信小程序必须是线上的openid才可以呢?
这个是我请求的json:
{
"touser": "ofykG5j1ea9hA9g4vB2myYFkKytI",
"template_id": "rR1BcEaevAuteAaFWc9OhC5Z8x48s9gpdt7NynBJJSg",
"url": "http://weixin.qq.com/download",
"topcolor": "#7B68EE",
"data": {
"first": {
"value": "这是一个测试",
"color": "#743A3A"
},
"cardNumber": {
"value": "1008611",
"color": "#EEEEEE"
},
"type": {
"value": "收货",
"color": "#FFFFFF"
},
"address": {
"value": "测试地址",
"color": "#FFFFFF"
},
"VIPName": {
"value": "齐云海",
"color": "#FFFFFF"
},
"VIPPhone": {
"value": "18746513861",
"color": "#FFFFFF"
},
"expDate": {
"value": "2020年12月12日",
"color": "#FFFFFF"
},
"remark": {
"value": "如有疑问,请咨询110",
"color": "#FFFFFF"
}
}
}