调用sendUniformMessage 返回40003
公众账号与微信小程序为统一认证主体,微信小程序已经与公众账号关联
{
"touser":"oe76P4hMS70dMQM1BVEewUJDNnHQ", --微信小程序openid
"mp_template_msg":
{
"appid": "wx351bda1b44498de8", --公众账号appid
"template_id": "5FALTaf3Hy8sQRpney1nAgBN_WDC3GICx0mi-ClDFc8",
"url": "http://www.99cd.com.cn",
"miniprogram": {
"appid": "wxe12a9e7140d41649", --微信小程序appid
"pagepath": "/pages/member/home/index"
},
"data": {
"first": {
"value": "您的考勤位置请及时上报",
"color": "#173177"
},
"keyword1": {
"value": "测试消息",
"color": "#173177"
},
"keyword2": {
"value": "人事部门",
"color": "#173177"
},
"keyword3": {
"value": "17703416007",
"color": "#173177"
},
"remark": {
"value": "请在 111 前及时签到上报您的考勤位置!",
"color": "#173177"
}
}
}
}
微信小程序开发问题解答
微信小程序开发者回答:
40003指的是touser不是正确的openid,麻烦重新核实下
本文网址:http://www.91bianli.com/weixinxiaochengxu/41470.html