收藏
回答

为啥我有账号管理权限却不能获取账号信息呢?有账号管理权限无法调用api?

操作日志

2020/7/27 15:02:21:      平台appid:wx9846288ca2606117

2020/7/27 15:02:21:      appid:wx9846288ca2606117

2020/7/27 15:02:21:      请求url:https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_info?component_access_token=35_ryxre4uthgHR6H02zO4JSwW_P15tZ8eKiVQP5aqbwJTHSiMVUcHcfHtA_1_YJKbOb2teFAP3WxkAJKdYa6_sauYDX2C9bGv6m2N4fhnsAZT_mlPqoyB1vO_XH8werFQbmCT1VK9KCZvOpZC-OJNjALDTOS

2020/7/27 15:02:21:      请求data:{"component_appid": "wxa1030ed250e0c5c7","authorizer_appid": "wx9846288ca2606117"}

2020/7/27 15:02:21:      响应data:{"errcode":48001,"errmsg":"api unauthorized hint: [J3ExCa0334ld24]"}




操作日志

2020/7/24 16:22:54:      平台appid:wx9846288ca2606117

2020/7/24 16:22:54:      appid:wx9846288ca2606117

2020/7/24 16:22:54:      请求url:https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_info?component_access_token=35_iox2CA3EE1CmKyJ4ley8q7gUNq9ettEQ7HaEmMCGBx_z2bIoafELAeWAdcr0YjKFvVtHQrPmQlX23nb7SWur9IwmxWtgNSVtp4dP3XXSAqq3wN4PGhTTYpJlaxfBwPHSgxojXAbJP8nBoHo7VXTjAHDOQM

2020/7/24 16:22:54:      请求data:{"component_appid": "wxa1030ed250e0c5c7","authorizer_appid": "wx9846288ca2606117"}

2020/7/24 16:22:54:      响应data:{"errcode":48001,"errmsg":"api unauthorized hint: [Iu3vFa0951d302]"}






权限集合说明:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Before_Develop/third_party_authority_instructions.html#%E5%B8%90%E5%8F%B7%E7%AE%A1%E7%90%86%E6%9D%83%E9%99%90

用户授权权限集:{"funcscope_category":{"id":17}},{"funcscope_category":{"id":18},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":25},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":30},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":31},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":36}},{"funcscope_category":{"id":37}},{"funcscope_category":{"id":40}},{"funcscope_category":{"id":41},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":45}},{"funcscope_category":{"id":48}}


调用结果:

2020/7/20 23:14:01:      wx0326ccfc766a7498

2020/7/20 23:14:01:      https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_info?component_access_token=35_nNmPCKi3YM2XoXXT8bfJsBy74JsBQJ95ENYR5t0X5XbW-N0bXrM5UJeIyI1JbWiz4Ere1y1xsnWcfHwcEGUU97LAYPdVslkyoIo9Ar9uXJHZ4n4T0luFYrT3HdFXbN_Qjs_eCIzMZRjwfp0OVNAcADDMER

2020/7/20 23:14:01:      {"component_appid": "wxa1030ed250e0c5c7","authorizer_appid": "wx0326ccfc766a7498"}

2020/7/20 23:14:01:      {"errcode":48001,"errmsg":"api unauthorized hint: [lnDWpa0033ld24]"}


没错是48001

最后一次编辑于  2020-07-27
回答关注问题邀请回答
收藏

2 个回答

  • 多端应用小助手
    多端应用小助手
    2020-07-28

    你好,调用该接口请使用component_access_token,并不是authorizer_access_token哈。

    2020-07-28
    有用 1
    回复 1
    • 阿巴阿巴
      阿巴阿巴
      2020-07-29
      完美 已解决。
      2020-07-29
      1
      回复
  • 阿巴阿巴
    阿巴阿巴
    2020-07-20

    在线等啊

    2020-07-20
    有用
    回复 16
    • 拾忆
      拾忆
      2020-07-21

      你是魔鬼吗,半夜在线等,我想问问你睡了吗😆

      2020-07-21
      回复
    • 阿巴阿巴
      阿巴阿巴
      发表于小程序端
      2020-07-21回复拾忆
      啊(๑• . •๑)
      2020-07-21
      回复
    • 拾忆
      拾忆
      2020-07-21回复阿巴阿巴

      睡了吗?

      2020-07-21
      回复
    • 阿巴阿巴
      阿巴阿巴
      2020-07-21回复拾忆
      吃瓜
      2020-07-21
      回复
    • 拾忆
      拾忆
      2020-07-21回复阿巴阿巴
      20个小时过去了,你是不是没睡觉?
      2020-07-21
      回复
    查看更多(11)
登录 后发表内容
问题标签