From 0cfbfb6ec666ec62d4935eca539ad823834b0765 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期一, 30 九月 2024 11:29:35 +0800
Subject: [PATCH] 1

---
 app.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/app.js b/app.js
index e203b18..38af179 100644
--- a/app.js
+++ b/app.js
@@ -11,7 +11,11 @@
       appRefCode: config.appRefCode,
       token: wx.getStorageSync(config.tokenKey)
     }).then(res => {
-      console.log('宸插埛鏂�')
+      console.log(res, '宸插埛鏂�')
+      if (res.token) {
+        wx.setStorageSync(config.tokenKey, res.token);
+      }
+
     })
   },
 });
\ No newline at end of file

--
Gitblit v1.9.1