收藏
回答

小程序统一服务消息报错40013?

40013 appid不正确,或者不符合绑定关系要求;我公众号也是认证了的,同时也关联了小程序,如图

公众号模板消息

发送内容如:

{

"touser": "oBk955EEmYvfmwcpA9gsJZXEJq68", //小程序获取的OPENID

"mp_template_msg": {

"data": {

"keyword1": {

"color": "#173177",

"value": "审阅"

},

"keyword2": {

"color": "#173177",

"value": "2222"

},

"remark": {

"color": "#173177",

"value": "121212"

},

"first": {

"color": "#173177",

"value": "你好有函件审核通知"

}

},

"appid": "wx7210f790eb02b08b", //公众号的appid

"template_id": "uqTb0ALgQjSdi8kilKCXHEIIu9OeJ29Hq_KZ3PDn4w8", //公众号模板id

"miniprogram": {

"pagepath": "pages/workManagement/workManagement",

"appid": "wxedb1f1395bd758cb" //小程序的appid

},

"url": "http://www.zza119.com"

}

}

回答关注问题邀请回答
收藏
登录 后发表内容