| 12345678910111213141516171819202122232425262728 |
- //app.js
- App({
- onLaunch: function (options) {
- this.getSystemInfo();
- if (options && options.scene) {
- console.log("scene:" + options.scene);
- this.globalData.userSource = options.scene;
- }
- if (options && options.shareTicket) {
- this.globalData.shareTicket = options.shareTicket;
- }
- },
- getSystemInfo: function () {
- this.globalData.systemInfo = wx.getSystemInfoSync();
- },
- globalData: {
- version: "0.1.3",
- IsProduction: true,
- ProgramID: 105,
- StartSecond: 4,
- fileUrl: "https://kylx365-1253256735.file.myqcloud.com/",
- serverUrl: "https://www.kylx365.com/apiData/",
- serverUrlServer: "https://www.kylx365.com/apiData/",
- serverUrlLocalhost: "http://localhost:3020/apiData/",
- Key: "kylx365_chengjie",
- IV: "kylx365hongliren",
- }
- })
|