第一种方式
"miniprogram":{
"appid":"wxda23313f1f458e76",
"pagePath "=>"pages/lst/lst",
"usePath" => false
},
第二种方式
"miniprogram":{
"appid":"wxda23313f1f458e76",
"pagepath "=>"pages/lst/lst",
"usepath" => false
},
第三种方式
"miniprogram":{
"appid":"wxda23313f1f458e76",
"pagepath "=>"pages/lst/lst",
},
使用pagepath也无法跳转到指定页面,搜遍整个论坛,提出的这三中方式都试了,还是无法跳转,小程序已经上线,路径存在
你好,是否跳转路径太长,具体调用信息能否完整提供下。
{
"touser": "oANAm5-khomnSZsWEU-xJDB2FmAQ",
"template_id": "1dHfOGhgCX4Du3Lj9Igt-5I2-g7HeAipiYsw0CMcelE",
"topcolor": "#7B68EE",
"miniprogram": {
"appid": "wxda23313f1f458e76",
"pagepath ": "pages/lst/lst",
"usepath": false
},
"data": {
"first": {
"value": "%E6%82%A8%E5%A5%BD%EF%BC%8C%E6%82%A8%E6%94%B6%E5%88%B0%E4%BA%86%E4%B8%80%E4%B8%AA1%2B1%E7%9B%91%E8%A3%85%E8%AE%A2%E5%8D%95",
"color": "#FF0000"
},
"keyword1": {
"value": "589554588555",
"color": "#FF0000"
},
"keyword2": {
"value": "%E6%BD%98%E7%BB%8D%E5%8D%8E",
"color": "#FF0000"
},
"keyword3": {
"value": "25",
"color": "#FF0000"
},
"keyword4": {
"value": "%E7%8E%89%E7%B1%B3",
"color": "#FF0000"
},
"keyword5": {
"value": "2021-10-30",
"color": "#FF0000"
},
"remark": {
"value": "%E5%A6%82%E6%9E%9C%E6%82%A8%E5%AF%B9%E4%BB%A5%E4%B8%8A%E4%BF%A1%E6%81%AF%E6%9C%89%E4%BB%BB%E4%BD%95%E7%96%91%E9%97%AE%EF%BC%8C%E8%AF%B7%E8%81%94%E7%B3%BB%E5%AE%A2%E6%9C%8D",
"color": "#FF0000"
}
}
}
如果你用java遇到这个问题 使用了参数 pagepath 把 usePath 关掉就好了
这个问题还没有解决,或许根本就是bug
如果用的uni-app做的地址拼接会有问题,辛苦打印一下拼接好的地址看下是否正确
{
"touser": "oANAm5-khomnSZsWEU-xJDB2FmAQ",
"template_id": "1dHfOGhgCX4Du3Lj9Igt-5I2-g7HeAipiYsw0CMcelE",
"topcolor": "#7B68EE",
"miniprogram": {
"appid": "wxda23313f1f458e76",
"pagepath ": "pages/lst/lst",
"usepath": false
},
"data": {
"first": {
"value": "%E6%82%A8%E5%A5%BD%EF%BC%8C%E6%82%A8%E6%94%B6%E5%88%B0%E4%BA%86%E4%B8%80%E4%B8%AA1%2B1%E7%9B%91%E8%A3%85%E8%AE%A2%E5%8D%95",
"color": "#FF0000"
},
"keyword1": {
"value": "589554588555",
"color": "#FF0000"
},
"keyword2": {
"value": "%E6%BD%98%E7%BB%8D%E5%8D%8E",
"color": "#FF0000"
},
"keyword3": {
"value": "25",
"color": "#FF0000"
},
"keyword4": {
"value": "%E7%8E%89%E7%B1%B3",
"color": "#FF0000"
},
"keyword5": {
"value": "2021-10-30",
"color": "#FF0000"
},
"remark": {
"value": "%E5%A6%82%E6%9E%9C%E6%82%A8%E5%AF%B9%E4%BB%A5%E4%B8%8A%E4%BF%A1%E6%81%AF%E6%9C%89%E4%BB%BB%E4%BD%95%E7%96%91%E9%97%AE%EF%BC%8C%E8%AF%B7%E8%81%94%E7%B3%BB%E5%AE%A2%E6%9C%8D",
"color": "#FF0000"
}
}
}
这个参数填写没