{
"touser": "oAFZu5DVpAYd87ENzjj7pdgPN0rQ",
"mp_template_msg": {
"appid": "wxab2300cfb88c610e",
"template_id": "B-mmBMlX4-Uq9xBPF0l4xHMWhFKf5DQQJCQfFTcouQo",
"url": "http://weixin.qq.com/download",
"data": {
"keyword3": {
"value": "111111111",
"color": "#000000"
},
"keyword4": {
"value": "支付宝",
"color": "#000000"
},
"keyword1": {
"value": "11111111",
"color": "#000000"
},
"keyword2": {
"value": "2021-05-19 12:37:53",
"color": "#000000"
},
"remark": {
"value": "功夫不负有心人,越努力越幸运",
"color": "#000000"
},
"first": {
"value": "您好,您的提现申请已经收到,预计3个工作日到账!",
"color": "#000000"
}
},
"miniprogram": {
"appid": "wx4e262e6d5e1617ad",
"pagepath": "station/replaceFilter"
}
}
}
上面是我发送的 json 数据,小程序与公众号以关联。发送消息 返回数据:
{"errcode":40013,"errmsg":"invalid appid rid: 60a49653-65622386-5f01ca84"}
mp_template_msg.appid和mp_template_msg.miniprogram.appid没有绑定关系。
参考https://developers.weixin.qq.com/community/develop/doc/000424e4c3cc4871bfb99fee15e400?_at=1610873709667