收藏
回答

小程序橱窗授权异常

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug POST https://api.weixin.qq.com/channels/ec/league/headsupplier/windowauth/get?access_token=ACCESS_TOKEN 微信iOS客户端 版本:8.0.58 WeChatLib: 3.8.1(2025.4.17 19:05:04)

https://developers.weixin.qq.com/doc/store/leagueheadsupplier/API/getauth.html

通过接口拿到授权链接:

  1. auth_appid"wx2cea70df4257bba8"
  2. auth_url"/pages/partner/v3/auth?scene=thirdapp&key=0_HLcz8mtyD3D7wpL5KrNbnPQdZIi_c4lr4DzYW4HADzIRYVhN7bX_LB_2AlaezgMqVzQmQ7I"
  3. auth_wxa_username"gh_bebad552f050"
  4. url"https://channels.weixin.qq.com/miniprogram/live-commerce/auth?authkey=0_HLcz8mtyD3D7wpL5KrNbnPQdZIi_c4lr4DzYW4HADzIRYVhN7bX_LB_2AlaezgMqVzQmQ7I"

然后通过点击跳转:

<navigator

     hover-class="navigator-hover"

     target="miniProgram"

     open-type="navigate"

     :app-id="auth_appid"

     :path="auth_url">

     跳转到授权页({{auth_appid}})

</navigator>

跳转出现:

且立即跳转到橱窗首页。

而没有正常跳转到小程序橱窗授权页面,请问是什么原因?谢谢。

回答关注问题邀请回答
收藏
登录 后发表内容