云数据库中自动添加的openid能用于获取对应用户的头像昵称吗?

小程序 文章 2022-04-13 15:00 344 0 全屏看文

AI助手支持GPT4.0

云数据库中自动添加的openid能用于获取对应用户的头像昵称吗?Can the automatically added openid in the cloud database be used to obtain the avatar nickname of the corresponding user?

云数据库中自动添加的openid能用于获取对应用户的头像昵称吗?

又或者小程序暂时没有这样的接口,个人在尝试做聊天室功能,在做前端会话列表遇到这个问题....

Or the applet doesn't have such an interface for the time being. I'm trying to do the chat room function, and I encounter this problem when making the front-end conversation list

回答:

微喵网络:

不行,现在头像昵称必须通过wx.getUserProfile 去获取

brave:

不行,你得调用 wx.getUserProfile 去获取用户信息

Mr.Zhao:

不能获取

zwzwzwz:嗯嗯好的,十分感谢!

-EOF-

AI助手支持GPT4.0