参考的如上文档,还是报错了
https://api.weixin.qq.com/sns/oauth2/component/access_token?component_appid=wx8cc859a29f223a**&grant_type=authorization_code&code=05107IFa1ebBdG0aaQHa13SBYr407IFI&component_access_token=*****&appid=wxea93cf18eabd****
注:component_access_token字段是从如下接口获取的:https://api.weixin.qq.com/sns/oauth2/component/access_token
返回结果如下
{
"errcode": 48001,
"errmsg": "api unauthorized, rid: 652e6bbb-7d234df1-67f3f57c"
}
你好,component_access_token是通过getComponentAccessToken接口获取 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/ticket-token/getComponentAccessToken.html
权限集如下: