小程序的登录需要请求几次?

117 阅读1分钟

小程序的登录需要请求几次?

  • 请求wx.login,返回code
  • 发送code,返回openid+sessionKey
  • 请求getuserinfo(用户信息)