//app.js App({ onLaunch() { // wx.login({ // success: res => { // // 发送 res.code 到后台换取 openId, sessionKey, unionId // } // }) }, globalData: { userInfo: null, // imgPath: 'http://106.74.34.136:8084/daqi/route/file/true/' imgPath: 'https://www.xzszwhy.cn/daqi/route/file/true/' } })