这是后端发送的数据
{
“data”: [
{
“color”: “#173177”,
“name”: “first”,
“value”: “xx老师发布了公告请及时查看”
},
{
“color”: “#173177”,
“name”: “keyword1”,
“value”: “xxx实验学校八(1)班”
},
{
“color”: “#173177”,
“name”: “keyword2”,
“value”: “xx”
},
{
“color”: “#173177”,
“name”: “keyword3”,
“value”: “2019-09-29 17:32”
},
{
“color”: “#173177”,
“name”: “keyword4”,
“value”: “xxx发布的公告”
},
{
“color”: “#173177”,
“name”: “remark”,
“value”: “点击查看公告”
}
],
“miniProgram”: {
“appid”: “xxx”,
“pagePath”: “pages/class/class?shareRedirect=%2Fpages%2Fclass%2Fnotice%2Fnotice-guardian%3Fid%3D14”,
“usePath”: true
},
“templateId”: “yHcKEBOddMGZrQnicikczX0FFqowT03wLU0Km5pZ0Ts”,
“toUser”: “xxxx”
}
通过公众号模板消息 -> 微信小程序 app onShow 中 无法获取 pagepath 携带的参数shareRedirect