-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
微信小程序更新wx.getUserProfile,无法获取到小程序用户信息 #2069
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
按照官方文档描述,接口不需要调整,只是数据变了而已 |
同样的问题,感觉是加密encryptedData的时候没包含openid,所以解密出来也没有openid。。 |
1、wx.login拿到code,服务端换openid,unionid,本地记录登陆的token |
是的,现在要拉个人信息要像之前获取手机号一样写了,先用userInfo获取openid,再用userProfile获取详情更新上去。 |
getUserInfo获取用户信息现在nickname做了处理拿不到用户的昵称了 |
微信小程序更新了。wx.getUserProfile(Object object)。
后端在使用wxMaService.getUserService().getUserInfo获取不到用户的 openid和 union了。
The text was updated successfully, but these errors were encountered: