收藏
回答

2021-06-01凌晨00:30左右获取授权登陆用户信息为空?

在2021-06-01凌晨00:30左右,我们系统发现获取授权登陆的用户信息返回为空,调用的接口是:https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPEN_ID&lang=zh_CN

下面是日志打印:

[2021-06-01 00:31:29.030] DEBUG - 获取获取授权调用凭证start------------------>>>>>>>>>>>
[2021-06-01 00:31:29.305] DEBUG - 获取获取授权调用凭证end------------------>>>>>>>>>>>{"access_token":"45_6QLrDjOQ2GLgTK5
ZpNyd42BfahiFyQXYY40T5URRIy_l5X8rcn0_LSCaDMUDOaiYIylEV1dHEXhBQELjSdSlvSpPutkFBPcJIvacBdkXGJo","expires_in":7200,"refresh_token":"45_QIQGh4kOkcEM2ILgfQfzFC_n0yHwzTGlonW4UiI_K8HT613gJEpHV2kQfoTgnIne5agyYE
5dLjq5xwzHTVl8PRDOgMHQ4Xmjp2grDWZxhCg","openid":"o09Gyt-PoLACar-zImsL50c7O6Lc","scope":"snsapi_userinfo","unionid":"o8Yuys_YbjgDI5AjOCbB9tEmQpCQ"}
[2021-06-01 00:31:29.318] DEBUG - wechatAuth,code = 021e3d000sqXNL1Eim20072AXy2e3d0b,htmlAccessToken = {"accessToken":"45_
6QLrDjOQ2GLgTK5ZpNyd42BfahiFyQXYY40T5URRIy_l5X8rcn0_LSCaDMUDOaiYIylEV1dHEXhBQELjSdSlvSpPutkFBPcJIvacBdkXGJo","expiresIn":7200,"openid":"o09Gyt-PoLACar-zImsL50c7O6Lc","refreshToken":"45_QIQGh4kOkcEM2ILgf
QfzFC_n0yHwzTGlonW4UiI_K8HT613gJEpHV2kQfoTgnIne5agyYE5dLjq5xwzHTVl8PRDOgMHQ4Xmj******","scope":"snsapi_userinfo"}
[2021-06-01 00:31:29.319] DEBUG - 获取用户基本信息start------------------>>>>>>>>>>>
[2021-06-01 00:31:29.396] DEBUG - 获取用户基本信息end------------------>>>>>>>>>>>{"openid":"o09Gyt-PoLACar-zImsL50c7O6Lc","nick
name":"","sex":0,"language":"","city":"","province":"","country":"","headimgurl":"","privilege":[],"unionid":""}
最后一次编辑于  2021-06-01
回答关注问题邀请回答
收藏
登录 后发表内容