app.js
@@ -7,5 +7,11 @@ onLaunch: function () {}, onShow: function () { updateManager(); MG.identity.refreshToken({ appRefCode: config.appRefCode, token: wx.getStorageSync(config.tokenKey) }).then(res => { console.log('已刷新') }) }, }); });