1.通过https://api.weixin.qq.com/cgi-bin/component/api_create_preauthcode拿到授权码:preauthcode@@@qXAEXnDJVMLjPmT6zK7O-RVwfLOLcFtNGQnoK-JhNaHAtlxbk8AxSQ-slL_jzrG0Ew6eENbqtugfw5RCmtUiJw
2.将第一步拿到的授权码填写到https://api.weixin.qq.com/cgi-bin/component/api_query_auth中报错
{
"errcode": 61009,
"errmsg": "code is invalid rid: 63f71ff0-34ba6843-3cc15019"
}
你好,这里是使用授权码,并不是预授权码哦,请细看文档,后续遇到此类报错可参考https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/troubleshooting/third_party_authority_instructions_troubleshooting.html自助排查