open-type='getUserInfo'没有授权弹窗?

小程序 文章 2021-04-02 17:42 24 0 全屏看文

open-type='getUserInfo'没有授权弹窗?open-type='getUserInfo' is not authorized to pop up?

open-type='getUserInfo'没有授权弹窗?

小程序中写的授权获取用户信息页面

<button open-type='getUserInfobindgetuserinfo="bindGetUserInfoclass="souq" >授权登录</button>

点击后无法弹出授权询问框 之前还是有询问框的 后来把getUserInfo改为getPhoneNumber 就又有了弹窗

The authorization access user information page written in the applet < button open-type ='getuserinfo'bindgetuserinfo "class =" souq "> authorization login < / button > after clicking, the authorization inquiry box cannot pop up. There is still an inquiry box before. Later, the getUserInfo will be changed to getphonenumber, and the pop-up window will appear again

回答:

社区技术运营专员-Jahozheng:

周知:getUserInfo 开发版 & 体验版 已对齐 getUserInfo 匿名表现,正式版将于 4月13日 正式对齐 getUserInfo 匿名表现。请开发者使用 getUserProfile 获取用户信息。


小程序登录、用户信息相关接口调整说明:https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801


 :

登录获取用户信息用新的接口getUserProfile

-EOF-