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

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

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