json传参格式如下,模板id和类型在后台内置
{
"touser": "oB_hN41zbT1OvATDONK5LccFIwwA",
"page": "index",
"lang":"zh_CN",
"data": {
"thing1": {
"value": "rc coupon1"
},
"time2": {
"value": "2021-08-01 13:32:40"
},
"number4": {
"value": 3
} ,
"thing3": {
"value": "test remark message1"
}
}
}
打印报错如下: 报文:{"errcode":40003,"errmsg":"invalid openid rid: 617627ab-5e637b4e-20900d78"}
证明下openid对应的appid和生成access_token的appid一致
这是小程序发送订阅消息的接口