zhongshujie
2024-12-20 32986b54a0e2661f7ad6ed79f3ef12c4289eace9
app.js
@@ -7,15 +7,5 @@
  onLaunch: function () {},
  onShow: function () {
    updateManager();
    MG.identity.refreshToken({
      appRefCode: config.appRefCode,
      token: wx.getStorageSync(config.tokenKey)
    }).then(res => {
      console.log(res, '已刷新')
      if (res.token) {
        wx.setStorageSync(config.tokenKey, res.token);
      }
    })
  },
});