wx.getUserInfo 两个接口说明,看哪个?
发布于 6 年前 作者 machao 5955 次浏览 来自 问答
  1. https://developers.weixin.qq.com/minigame/dev/document/open-api/data/wx.getUserInfo.html

    在无须用户授权的情况下,批量获取用户信息。该接口只在开放数据域下可用

  2. https://developers.weixin.qq.com/minigame/dev/document/open-api/user-info/wx.getUserInfo.html

    获取用户信息,withCredentials 为 true 时需要先调用 wx.login 接口。需要用户授权 scope.userInfo

同个接口,两个地方说明不一样,有什么区别。求解惑

1 回复

现在还有问题吗?具体怎么操作的?

回到顶部