From b8e3dc3c89fcc278ed8fe409c09fe938bdda0e23 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 26 九月 2024 11:31:04 +0800 Subject: [PATCH] Merge refs/remotes/origin/master into refs/heads/master --- app.js | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index 09258b6..e203b18 100644 --- a/app.js +++ b/app.js @@ -1,9 +1,17 @@ import updateManager from './common/updateManager'; -import MG from './assets/js/middleGround/WebMiddleGroundApi' +import MG from './assets/js/middleGround/WebMiddleGroundApi'; +import config from './assets/js/config'; App({ - MG:MG, - onLaunch: function () { }, + MG: MG, + config: config, + onLaunch: function () {}, onShow: function () { updateManager(); + MG.identity.refreshToken({ + appRefCode: config.appRefCode, + token: wx.getStorageSync(config.tokenKey) + }).then(res => { + console.log('宸插埛鏂�') + }) }, -}); +}); \ No newline at end of file -- Gitblit v1.9.1