wx.navigateToMiniProgram调用跳转提示网络异常,是什么原因?

微信支付 文章 2022-01-26 17:00 963 0 全屏看文

AI助手支持GPT4.0

wx.navigateToMiniProgram调用跳转提示网络异常,是什么原因?wx.navigateToMiniProgram call jump prompts network exception, what is the reason?

wx.navigateToMiniProgram调用跳转提示网络异常,是什么原因?

参数是按照文档要求的

   wx.navigateToMiniProgram({      appId'wx88736d7d39e2eda6'// 要打开的小程序 appId      path'pages/oauth/authindex'// 打开的页面路径,如果为空则打开首页。      extraData: json, // 需要传递给目标小程序的数据       envVersion'release'//这个有没有问题      success(res) {},      fail(res) {}    })

文档链接:https://pay.weixin.qq.com/wiki/doc/apiealnameauth.php?chapter=60_2&index=3

Parameters are specified in the document Wx navigateToMiniProgram( {appid: 'wx88736d7d39e2eda6', / / the applet to be opened. Appid path: 'pages / OAuth / authindex', / / the path of the page to be opened. If it is empty, open the home page. Extradata: JSON, / / the data to be passed to the target applet. Envversion: 'release', / / is there a problem with this? Success (RES) {}, Fail (RES) {}}) document link: https://pay.weixin.qq.com/wiki/doc/apiealnameauth.php?chapter=60_2&index=3

回答:

支付社区运营-Tasting:

您好,该接口需要联系对接的微信运营开通权限后才能调用正常的,如果没有对接的运营,是无法开通使用的。

社区技术运营专员-horanzhou:

有尝试切换其他网络试一下吗,有具体报错吗

开始:这是微信的授权小程序,不是我自己的
圣殿骑士:


信息有点少啊。。。只能猜测下,

1、你是不是调试的环境不是正式版(release)?

2、跳别人。。。路径对吗?

开始:1.测试版
2.微信的授权小程序

-EOF-

AI助手支持GPT4.0