摘要: 小程序端登录后,得到登录时获取的 code(仅可使用一次) App({ onLaunch: function () { // 登录 wx.login({ success: res => { // 发送 res.code 到后台换取 openId, sessionKey, unionId consol 阅读全文