首次提交

This commit is contained in:
zeronline
2026-06-25 08:39:47 +08:00
parent 20a93c703a
commit c5cccd346b
169 changed files with 24720 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
App({
globalData: {
token: '',
user: null,
apiUrl: 'http://localhost:8080'
},
onLaunch() {
const token = wx.getStorageSync('token')
if (token) {
this.globalData.token = token
try {
const user = wx.getStorageSync('user')
if (user) this.globalData.user = user
} catch(e) {}
}
}
})