//app.js
App({
  onLaunch: function (options) {
    this.getSystemInfo();
    if (options && options.scene) {
      //console.log("scene:" + options.scene);
      this.globalData.userSource = options.scene;
    }
  },
  getSystemInfo: function () {
    this.globalData.systemInfo = wx.getSystemInfoSync();
  },
  globalData: {
    Version: "1.2.4",
    IsProduction: true,
    ProgramID: 106,
    AppID: "wx313a8f2c0741efe1",
    ProgramName: "语文识字",
    ShareTitle:"赢在阅读起跑线",
    SharePath: "pages/index/index",
    ShareImage: "../../pages/images/07001.png",
    userInfo: null,
    fileUrl: "https://www.kylx365.com/",
    serverUrl: "https://www.kylx365.com/apiData/",
    serverUrlServer: "https://www.kylx365.com/apiData/",
    serverUrlLocalhost: "http://localhost:3020/apiData/",
    imageUrl: "https://hanzi-1253256735.file.myqcloud.com",
    audioUrl: "https://pinyin.kylx365.com",
    audioUrlBaidu: "https://tsn.baidu.com/text2audio?lan=zh&ctp=1&cuid=abcdxxx&tok=[token]&tex=[word]&vol=9&per=0&spd=3&pit=5",
    Key: "kylx365_chengjie",
    IV: "kylx365hongliren",
    systemInfo: null,
    userInfo: null,
    SourceID: 0,//来源ID
    DayNumber: 0,//使用天数
    PayMoney: 19.8,//产品销售价
    BaiduToken:"",//百度开发平台token
    IsShow: 0,
    IsLocked: 0,
    NewUserNumberMax:6,//邀请新用户最大值
    IsSaveCustom:false,//是否保存了定制
    goto:"",//用于服务直达的跳转
    IsRefresh: false,
  }
})