Riku
2024-08-13 093afd3be27ea5e9692839845b69bd56e2405518
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// app.js
import { baseFileUrl } from './config/index';
App({
  onLaunch() {
    wx.getStorage({
      key: 'userProfile',
      success: res => {
        this.globalData.userProfile = res.data;
      },
    });
  },
  globalData: {
    userInfo: {
      district: undefined,
    },
    accessToken: {
      userId: undefined,
    },
    isLogin: false,
    agreement:
      baseFileUrl +
      '/agreement/中小微企业生态环境守法智能服务微信小程序服务协议.docx',
  },
});