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
在查询用户信息时,如果一个用户已经取消关注公众号,那么只能拿到openID和其他的辅助信息。在WxMpUserGsonAdapter中,代码段
switch (sex) { case 1: user.setSexDesc("男"); break; case 2: user.setSexDesc("女"); break; default: user.setSexDesc("未知"); }
会因为获取不到sex字段而导致抛出NPE异常
The text was updated successfully, but these errors were encountered:
使用的版本是2.9.6.BETA
Sorry, something went wrong.
感谢提出问题,之后修复下
#480 修复sex值可能为null导致的空指针问题
b4cf79f
2.9.8.BETA版本已修复
No branches or pull requests
在查询用户信息时,如果一个用户已经取消关注公众号,那么只能拿到openID和其他的辅助信息。在WxMpUserGsonAdapter中,代码段
会因为获取不到sex字段而导致抛出NPE异常
The text was updated successfully, but these errors were encountered: