zf
litian
2024-09-27 3ec10b0c2654e1243e42a5ad563d088ac89c87fe
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('已刷新')
    })
  },
});
});