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
小程序登录实现起来有点麻烦呀。 1.wx.login()获取accessCode,传入ids4调用微信jscode2session拿到openid和session_key(可能有unionId)。 2.wx.getuserinfo()获取到加密数据和加密向量,再调用某个接口传入ids4,用上一步获取到的session_key对加密数据进行解密,解密完成就能拿到用户信息了。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
小程序登录实现起来有点麻烦呀。
1.wx.login()获取accessCode,传入ids4调用微信jscode2session拿到openid和session_key(可能有unionId)。
2.wx.getuserinfo()获取到加密数据和加密向量,再调用某个接口传入ids4,用上一步获取到的session_key对加密数据进行解密,解密完成就能拿到用户信息了。
The text was updated successfully, but these errors were encountered: