wx.getUserProfile 拉起的授权会出现在 getSetting中么?
发布于 6 年前 作者 hwen 2824 次浏览 来自 问答

如题 : wx.getUserProfile 拉起的授权会出现在 getSetting中么?模拟器清除授权后,为什么会有这么多授权

  1. getSetting中 到底有没有 scope.userInfo,现在的逻辑是什么,能不能说下?
  2. getUserInfo 这个接口还会拉起授权么,为什么我线上适配了新接口后,调用getUserInfo 会报授权失败呢?
3 回复

醉了,之前一直拿这个userinfo 的状态去判断是否授权过 结果现在默认返回true

不会

getUserProfile 每次授权都会弹框确认

参考公告:https://developers.weixin.qq.com/community/develop/doc/000ecabcb642185cfdfb78fe056c01

现在的逻辑就是不判断用户是否登录了

回到顶部