收藏
回答

获取达人橱窗授权链接

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug 获取达人橱窗授权链接 微信iOS客户端 8.8.59 2.0.0

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

返回的auth_url点进去没有不是确认授权页面


array(5) {
  ["errcode"] => int(0)
  ["errmsg"] => string(2) "ok"
  ["auth_info"] => array(4) {
    ["auth_url"] => string(150) "https://store.weixin.qq.com/commerce/miniprogram/talent/auth?authkey=0_HITrplcNnq5DUx1liZUuCqP6mRtIswMcKCwe-7OU4_6CGZqXi-7vngHmyYeMOzbYyq54hB6ppZ5YVHQ"
    ["auth_wxa_username"] => string(15) "gh_46bf752ab495"
    ["auth_wxa_appid"] => string(18) "wx30847f81721b1ba6"
    ["auth_wxa_path"] => string(166) "/common/pages/login/login?redirect_url=%2Fpartner%2Fpages%2Fauth%2Findex%3Fauthkey%3D0_HITrplcNnq5DUx1liZUuCqP6mRtIswMcKCwe-7OU4_6CGZqXi-7vngHmyYeMOzbYyq54hB6ppZ5YVHQ"
  }
  ["openfinderid"] => string(76) "ofdi8jpmCFUmmDS5pcvA93QXOpj5YPdEEyuXH8_r243rwpt55A8wAvuoSk61oeX_ow_0458w3dkg"
  ["opentalentid"] => string(76) "ofnh52YVBBGAZDcKPsglZcgb7ntpHiln2jme9zRMPzsWfAemvNMaa4_gfUdqlRzauMeTEmg_1r5w"
}


回答关注问题邀请回答
收藏

1 个回答

  • 诸神无名
    诸神无名
    2025-06-27
    用appid和auth_wxa_path去跳转通过wx.navigateToMiniProgram跳转
    
    2025-06-27
    有用 1
    回复 5
    • Lebron
      Lebron
      2025-06-30
      好的  谢谢
      2025-06-30
      回复
    • Yootou
      Yootou
      2025-09-23
      授权后,在原小程序的onShow或onLaunch里边能接收到授权的结果吗?还是说只能通过授权状态去主动查询?谢谢哈。
      2025-09-23
      回复
    • Ajay Yeger
      Ajay Yeger
      2025-10-02回复Yootou
      不需要判断权限,操作橱窗之前每次都调用一遍授权链接接口,如果已经授权了会返回错误码
      2025-10-02
      回复
    • Restart
      Restart
      2025-10-31
      按照方法跳转时提示:开发版小程序已过期,请在开发者工具中重新扫码,这是什么原因?
      2025-10-31
      回复
    • 诸神无名
      诸神无名
      2025-12-01回复Restart
      重新登录下
      2025-12-01
      回复
登录 后发表内容