想使用urlscheme.generate跳转到第三方小程序
path是通过复制对应第三方小程序的路径,调用接口则一直 "invalid weapp pagepath rid: 629de537-5422006d-019a0f29"
let data = {
"targetInfo": {
"expire_time": 30,
"expire_type": 1,
"expire_interval":30,
"jump_wxa": {
"path": "/fangkongfuwu/pages/healthCode/step_1/index",
}
},
"targetType": "other"
}
let postData = this.$postring.postsend(JSON.stringify(data))
await getScheme({'data':postData.resdatapost,'signed':postData.md5}).then(res => {
if(res.code == 200){
let {openLink} = this.$postring.postjson(res.data)
console.log(openLink,'openLink');
return
location.href = openLink
}
})
已解决