如何换成wx.getUserProfile?

小程序 文章 2021-03-08 10:21 483 0 全屏看文

AI助手支持GPT4.0

如何换成wx.getUserProfile?How to change to wx.getUserProfile?

如何换成wx.getUserProfile?

如何换成wx.getUserProfile

那么这几个参数怎么获取呢

wx.getUserInfo 获取到的以上信息,怎么得到?

How to change to wx.getUserProfile How to get these parameters wx.getUserInfo How to get the above information?

回答:

赵先森~:好的 ,感谢
赵先森~:

getUserProfile 只返回用户信息,不返回身份标识符啊(encryptedData、iv、signature),怎么搞?

Brother斌🎈:

那几个参数后端还要的话就照旧调wx.getUserInfo,wx.getUserProfile

是为了获取明文的昵称地区等信息

赵先森~:也就是说,先调取wx.getUserInfo,在调用wx.getUserProfile       ?
Brother斌🎈:先后没关系,wx.getUserProfile 要在用户点击的时候才能调,wx.getUserInfo4月13号后不会再弹出弹框,
赵先森~:明白了,多谢多谢🙏

-EOF-

AI助手支持GPT4.0