zs
litian
2024-09-24 3af1a4c3f1712445a17376205b9ee3c4d7768da6
app.js
@@ -1,11 +1,17 @@
import updateManager from './common/updateManager';
import MG from './assets/js/middleGround/WebMiddleGroundApi'
import config from "./assets/js/config.js"
import MG from './assets/js/middleGround/WebMiddleGroundApi';
import config from './assets/js/config';
App({
  MG: MG,
  config: config,
  onLaunch: function () { },
  onLaunch: function () {},
  onShow: function () {
    updateManager();
    MG.identity.refreshToken({
      appRefCode: config.appRefCode,
      token: wx.getStorageSync(config.tokenKey)
    }).then(res => {
      console.log('已刷新')
    })
  },
});
});