公众号模板消息跳转小程序,小程序无法获取pagepath携带的参数?

发布于 9 年前作者 szheng13836 次浏览最后编辑 9 年前来自 issues

这是后端发送的数据

{

    “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

1 回复
xiaqiao
xiaqiao1 楼6 年前

请问现在问题解决了么