接收不到用户发送的小程序卡片信息
代码如下
if (event.MsgType === 'miniprogrampage') {
console.log(event.MsgType);
await cloud.openapi.customerServiceMessage.send({
touser: wxContext.OPENID,
msgtype: 'link',
link: {
title: '任务办理集合页',
description: '融e行、融e联APP、支付宝,微信手工绑卡,黄金微定投',
url: 'https://web.zj.icbc.com.cn/'
}
});
await cloud.openapi.customerServiceMessage.send({
touser: wxContext.OPENID,
msgtype: 'miniprogrampage',
miniprogrampage: {
"title": "工银微金融微信绑卡",
"appid": "xxxx",
"pagepath": "pages/spike/loginLanding/loginLxanding",
"thumb_media_id": "xxxx-LpH4rXrYas6D22dFklyFk4FqfKKIwBPJky23vdvzSjlECClsx"
}
});
await cloud.openapi.customerServiceMessage.send({
touser: wxContext.OPENID,
msgtype: 'miniprogrampage',
miniprogrampage: {
"title": "经营贷款(温州)",
"appid": "xxx",
"pagepath": "pages/spike/loginLanding/loginLandi",
"thumb_media_id": "HKc5tePvM5wfPc-xxxx-9JEIq5FgXxIJAQ45AQzI2vVqmE0v9hziKpf0"
}
});
}
出错信息是什么?