From 1ebf13fcff1d64f0ab9f1981cd60ad3194a2d29c Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期五, 27 九月 2024 11:10:00 +0800
Subject: [PATCH] zf

---
 app.js |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/app.js b/app.js
index 1f62230..e203b18 100644
--- a/app.js
+++ b/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('宸插埛鏂�')
+    })
   },
-});
+});
\ No newline at end of file

--
Gitblit v1.9.1