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

调用wxService.getUserService().getPhoneNoInfo(session.getSessionKey(), encryptedData, iv); #80

Open
UFO233 opened this issue Nov 16, 2024 · 2 comments

Comments

@UFO233
Copy link

UFO233 commented Nov 16, 2024

          调用wxService.getUserService().getPhoneNoInfo(session.getSessionKey(), encryptedData, iv);

出现如下报错:再授权一次就好了
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $

Originally posted by @Mr2017666 in #27 (comment)

@UFO233
Copy link
Author

UFO233 commented Nov 18, 2024

我用的是4.6.5.B也是出现这种,第一次解密手机号出现 Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $

@Mr2017666
Copy link

解密手机号出现这种情况不要恐慌,属于正常情况,让前端加入重试逻辑,再调用一次解密就好了 Are you ok?

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

2 participants