收藏
回答

第三方平台无法获取小程序authorizer_refresh_token

框架类型 问题类型 提审时间 AppID
小程序 Bug 2018-05-02 wxcaae595b9e8b5846
{
    "authorizer_info": {
        "nick_name": "xxxx",
        "head_img": "http:\/\/wx.qlogo.cn\/mmopen\/ADwyMv38kDe0Itfhoibt1GN9HbfzAdQZD6D5vNyMa8iaKYCJnFHJHKXuJicnD84SQwzY72EOrvicStW4eu77yaZl9xCGGrXcOy1H\/0",
        "service_type_info": {
            "id": 0
        },
        "verify_type_info": {
            "id": 0
        },
        "user_name": "gh_0e771axxxxx",
        "alias": "",
        "qrcode_url": "http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/biarNDvfp6ZwLe3S3WMSaGK65bkh4koaMrAuuicjibESZianwAWer2IcrNI3EKXicssYdmrIxZxCEeE4iaaNpgJceGjg\/0",
        "business_info": {
            "open_pay": 0,
            "open_shake": 0,
            "open_scan": 0,
            "open_card": 0,
            "open_store": 0
        },
        "idc": 1,
        "principal_name": "xxx",
        "signature": "xxx",
        "MiniProgramInfo": {
            "network": {
                "RequestDomain": [
                    "https:\/\/www.ymstars.com"
                ],
                "WsRequestDomain": [
                    "wss:\/\/www.ymstars.com"
                ],
                "UploadDomain": [
                    "https:\/\/www.ymstars.com"
                ],
                "DownloadDomain": [
                    "https:\/\/www.ymstars.com"
                ],
                "BizDomain": [
                    "https:\/\/www.ymstars.com"
                ]
            },
            "categories": [],
            "visit_status": 0
        }
    },
    "authorization_info": {
        "authorizer_appid": "wx14bc5012619e0b6d",
        "authorizer_refresh_token": "",
        "func_info": [
            {
                "funcscope_category": {
                    "id": 17
                }
            },
            {
                "funcscope_category": {
                    "id": 18
                },
                "confirm_info": {
                    "need_confirm": 0,
                    "already_confirm": 0,
                    "can_confirm": 0
                }
            },
            {
                "funcscope_category": {
                    "id": 19
                }
            },
            {
                "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
                }
            }
        ]
    }
}


就像上面一样,数据获取到了,但是authorizer_refresh_token 是空的,是小程序要设置什么吗?抓狂中

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

2 个回答

  • R.D
    R.D
    2019-06-06

    请问,你解决了吗?我也碰到这个问题了。

    2019-06-06
    有用
    回复
  • raylin
    raylin
    2018-05-03

    获取的接口应该是

    https://api.weixin.qq.com/cgi-bin/component/api_query_auth?component_access_token=xxxx

    请参考文档

    https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1453779503&token=&lang=zh_CN

    4、使用授权码换取公众号或小程序的接口调用凭据和授权信息


    2018-05-03
    有用
    回复
登录 后发表内容