在使用腾讯云云开发业务过程中,通过微信登录方式登录(scope为snsapi_userinfo)后,拉取用户基础资料时返回的数据中相关值为空。正常拉取的值应该是(开发人员账号拉取正常):
{ appid: 'xxx',
city: '无锡',
country: '中国',
createTime: '2020-06-03 08:09:17',
customUserId: '',
envName: 'xxx',
gender: 'MALE',
loginType: 'WECHAT-PUBLIC',
nickName: '依山观月',
openid: 'oYOq11fW79wkhdaesZl7LCJwM4pg',
province: '江苏',
qqMiniOpenId: '',
requestId: 'ffc2843831883',
uid: 'baca53ba0c2c4b7d9bd8768ac2f549a3',
updateTime: '2020-06-03 08:09:17',
uuid: 'baca53ba0c2c4b7d9bd8768ac2f549a3',
wxOpenId: 'oYOq11fW79wkhdaesZl7LCJwM4pg',
wxOpenid: 'oYOq11fW79wkhdaesZl7LCJwM4pg',
wxPublicId: 'oYOq11fW79wkhdaesZl7LCJwM4pg',
wxUnionId: '' }
实际业务环境中,用户拉取的值如下:
{ appid: 'xxx',
avatarUrl: '',
city: '',
country: '',
createTime: '2020-06-16 16:51:14',
customUserId: '',
envName: 'xxx',
gender: 'UNKNOWN',
loginType: 'WECHAT-PUBLIC',
nickName: '',
openid: 'oYOq11RYs2c21XyRR6LPPSEFl2Yk',
province: '',
qqMiniOpenId: '',
requestId: 'f370788f65b59',
uid: '4c9012f40a6c47cfb57d72624d94a5db',
updateTime: '2020-06-16 16:51:14',
uuid: '4c9012f40a6c47cfb57d72624d94a5db',
wxOpenId: 'oYOq11RYs2c21XyRR6LPPSEFl2Yk',
wxOpenid: 'oYOq11RYs2c21XyRR6LPPSEFl2Yk',
wxPublicId: 'oYOq11RYs2c21XyRR6LPPSEFl2Yk',
wxUnionId: '' }
目前尚不清楚具体的原因。咨询云平台提出工单后对方要求我来这里咨询,希望提供帮助,谢谢。
你好,你的问题解决了吗?请问怎么解决的?谢谢