-
Notifications
You must be signed in to change notification settings - Fork 282
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
解密手机号接口报错 #65
Comments
先调用登陆接口,再进行解密操作。顺序反过来就会报错; |
另外微信解密用户信息似乎不再返回openid了(官方文档也提示不返回了)。 DecryptUserInfo() 该方法的openid应该是拿不到了 |
/root/go/pkg/mod/github.com/medivhzhan/weapp/v3@v3.3.3/encrypt/cbc.go:59 (0x6dc044) 生产环境中将近1/4报这个错 这个是什么原因? getUserInfo已经被抛弃了 你手册没有仔细看 |
报错的原因就是因为你先调用的获取手机号,再对用用户调用的登陆接口。顺序反了; |
getUserInfo确实被取消了 |
官方文档中描述的获取手机号的接口发生了变化,目前的sdk好像没法拿到这个信息了。 |
@voidint 新版本 |
操作系统:win10
golang版本:1.14.1
正确传入 sessionkey , encrypted_data,iv 返回以下内容
The text was updated successfully, but these errors were encountered: