调不起授权弹窗?

小程序 文章 2021-04-02 20:42 362 0 全屏看文

AI助手支持GPT4.0

调不起授权弹窗?Can't adjust the authorization pop-up window?

调不起授权弹窗?

<button class="info btn-infoopen-type="getUserInfobindgetuserinfo="getUserInfo">登录/授权</button>

没有弹出授权弹窗就自动静默授权了,而且返回的信息nick_name的字段是 微信用户,头像为默认头像,其他用户信息字段都为空

< button class = info BTN info "open type = getUserInfo" bindetuserinfo = getUserInfo > login / authorization_ The field of name is wechat user, the avatar is the default avatar, and other user information fields are empty

回答:

花自飘零水自流:

我也是

花自飘零水自流:
WQ:open-type="getUserinfo" 不行了嘛?
花自飘零水自流:嗯
 :使用getUserProfile接口登录获取用户信息
文档:https://developers.weixin.qq.com/miniprogram/dev/api/open-api/user-info/wx.getUserProfile.html
WQ:

同样的问题。怎么解决呀。

 :使用getUserProfile接口登录获取用户信息

-EOF-

AI助手支持GPT4.0