Skip to content
New issue

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

怎么找不到小程序的api? #353

Open
weituotian opened this issue Dec 8, 2017 · 0 comments
Open

怎么找不到小程序的api? #353

weituotian opened this issue Dec 8, 2017 · 0 comments

Comments

@weituotian
Copy link

小程序登录code

code 换取 session_key
​这是一个 HTTPS 接口,开发者服务器使用登录凭证 code 获取 session_key 和 openid。

session_key 是对用户数据进行加密签名的密钥。为了自身应用安全,session_key 不应该在网络上传输。

接口地址:

https://api.weixin.qq.com/sns/jscode2session?appid=APPID&secret=SECRET&js_code=JSCODE&grant_type=authorization_code

请求参数:
参数 | 必填 | 说明
-- | -- | --
appid | 是 | 小程序唯一标识
secret | 是 | 小程序的 app secret
js_code | 是 | 登录时获取的 code
grant_type | 是 | 填写为 authorization_code

像这个搜索不到呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant