ts
litian
2024-09-27 d780880b7a73360c8fc9fead1b429dd8ba3758e3
app.js
@@ -4,8 +4,14 @@
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('已刷新')
    })
  },
});
});