We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ComponentOAuth.get_wechat_user_info (获取用户信息)的请求中如果出现40001的错误码,刷新access_token逻辑错误
wechatpy.component.py 的 ComponentOAuth类
self.component.fetch_access_token() kwargs["params"]["component_access_token"] = self.component.access_token return self._request(method=method, url_or_endpoint=url, **kwargs)
文档 对于接口 /sns/userinfo只提到了access_token这个参数,所以无法接收 component_access_token 参数,这样会导致一直刷新返回的状态码还是40001,最终递归错误。
The text was updated successfully, but these errors were encountered:
@ZeddShi 可以尝试 PR 修复
Sorry, something went wrong.
No branches or pull requests
问题描述 (Description)
ComponentOAuth.get_wechat_user_info (获取用户信息)的请求中如果出现40001的错误码,刷新access_token逻辑错误
wechatpy.component.py 的 ComponentOAuth类
文档 对于接口 /sns/userinfo只提到了access_token这个参数,所以无法接收 component_access_token 参数,这样会导致一直刷新返回的状态码还是40001,最终递归错误。
配置信息 (Environment/Version)
重现步骤 (Reproducing)
The text was updated successfully, but these errors were encountered: