摘要: //app.js App({ onLaunch: function () { console.log('1' ) wx.login({ success: function (res) { console.log(res.code) //这就是code if (res.code) { //发起网络请求 ... 阅读全文
posted @ 2017-08-28 13:53 爱吃醋的工程师 阅读(252) 评论(0) 推荐(0)
摘要: secret错误,换一下secret就可以了 阅读全文
posted @ 2017-08-28 13:48 爱吃醋的工程师 阅读(21798) 评论(0) 推荐(0)
摘要: console.log(res.code) //这就是code wx.request({ url: 'https://zjite.applinzi.com?code='.res.code, method: "GET", header: { 'content-type': 'application/... 阅读全文
posted @ 2017-08-28 12:14 爱吃醋的工程师 阅读(250) 评论(0) 推荐(0)