• 首先调用wx.login({})获取登录凭证(code)
  • 调用接口 用拿到的code 换取 openid
  • 贴代码

    TAG标签: 微信小程序微信获取openid

    http://www.xiaochengxub.com/read-107071.html