sendUniformMessage返回
{“errcode”:40013,“errmsg”:“invalid appid hint: [ZSokOa00273934]”}
确认公众号和小程序appid没有问题,
{
“touser”: “oqbgE5opQ-h1qMO_09K5j5YkfaFg”,
“mp_template_msg”: {
“app_id”: “wxc2cf902fcfc1b130”,
“template_id”: “L_AbKHm4skDZoKqPfQc8XebE3oLq3m2GVSrnbOYTHjo”,
“url”: “http://weixin.qq.com/download”,
“data”: {
“first”: {
“value”: “你好!你的充电订单已完成,请点击支付!(如已支付请忽略)”,
“color”: “#173177”
},
“keyword1”: {
“value”: “1811270320000012”,
“color”: “#173177”
},
“keyword2”: {
“value”: “0.00 元”,
“color”: “#173177”
},
“keyword3”: {
“value”: "1 分钟 ",
“color”: “#173177”
},
“keyword4”: {
“value”: “充电结束”,
“color”: “#173177”
},
“remark”: {
“value”: “感谢你的使用!”,
“color”: “#173177”
}
},
“miniprogram”: {
“appid”: “wxaa56b48d63b6311c”,
“pagepath”: “index/index”
}
}
}