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
code 换取 session_key
第三方平台开发者的服务器使用登录凭证 code 以及第三方平台的component_access_token 获取 session_key 和 openid。
请求方式: https://api.weixin.qq.com/sns/component/jscode2session?appid=APPID&js_code=JSCODE&grant_type=authorization_code&component_appid=COMPONENT_APPID&component_access_token=ACCESS_TOKEN
参数说明:
参数 是否必须 说明 appid 是 小程序的AppID js_code 是 登录时获取的 code grant_type 是 填authorization_code component_appid 是 第三方平台appid component_access_token 是 第三方平台的component_access_token
The text was updated successfully, but these errors were encountered:
#420 已增加
Sorry, something went wrong.
2.9.4.BETA版本已实现
No branches or pull requests
code 换取 session_key
第三方平台开发者的服务器使用登录凭证 code 以及第三方平台的component_access_token 获取 session_key 和 openid。
请求方式:
https://api.weixin.qq.com/sns/component/jscode2session?appid=APPID&js_code=JSCODE&grant_type=authorization_code&component_appid=COMPONENT_APPID&component_access_token=ACCESS_TOKEN
参数说明:
参数 是否必须 说明
appid 是 小程序的AppID
js_code 是 登录时获取的 code
grant_type 是 填authorization_code
component_appid 是 第三方平台appid
component_access_token 是 第三方平台的component_access_token
The text was updated successfully, but these errors were encountered: