const configModules = {
  // 溯源>测试环境
  "sy_test": {
    CHAIN_BROWSER_URL_PREFIX: 'http://120.26.174.69:9032/',
    INERFACE_URL_PREFIX: 'http://172.16.101.87:46789',
    /**
     * 网站入口配置
     */
    INDEX: {
      // page 的入口
      entry: './src/entry/sy/main.ts',
      // 模板来源
      template: './public/sy/index.html',
      // 在 dist/index.html 的输出
      filename: 'index.html'
    }
  },
  // 溯源>正式环境
  "sy_prod": {
    CHAIN_BROWSER_URL_PREFIX: 'https://cx.chain33.pro/',
    INERFACE_URL_PREFIX: 'https://sy.chain33.pro/api',
    INDEX: {
      entry: './src/entry/sy/main.ts',
      template: './public/sy/index.html',
      filename: 'index.html'
    }
  },
  // 慈善>测试环境
  "cs_test": {
    CHAIN_BROWSER_URL_PREFIX: 'http://120.26.174.69:9033/',
    INERFACE_URL_PREFIX: 'http://172.16.101.87:46788',
    INDEX: {
      entry: './src/entry/cs/main.ts',
      template: './public/cs/index.html',
      filename: 'index.html'
    }
  },
  "cs_prod": {
    CHAIN_BROWSER_URL_PREFIX: 'https://ccs.chain33.pro/',
    INERFACE_URL_PREFIX: 'https://cs.chain33.pro/api',
    INDEX: {
      entry: './src/entry/cs/main.ts',
      template: './public/cs/index.html',
      filename: 'index.html'
    }
  },
  // 百斯特
  "best_test": {
    CHAIN_BROWSER_URL_PREFIX: 'http://120.26.174.69:9007/',
    INERFACE_URL_PREFIX: 'http://172.16.101.87:46789',
    INDEX: {
      entry: './src/entry/best/main.ts',
      template: './public/best/index.html',
      filename: 'index.html'
    }
  },
  // 溯源>正式环境
  "best_prod": {
    CHAIN_BROWSER_URL_PREFIX: 'https://llq.hrzl.net.cn/', // 浏览器
    INERFACE_URL_PREFIX: 'https://hrzl.net.cn/api', // 服务器地址
    INDEX: {
      entry: './src/entry/best/main.ts',
      template: './public/best/index.html',
      filename: 'index.html'
    }
  },
  // hd
  "hd_test": {
    CHAIN_BROWSER_URL_PREFIX: 'http://120.26.174.69:9007/',
    INERFACE_URL_PREFIX: 'http://172.16.101.87:46789',
    INDEX: {
      entry: './src/entry/hd/main.ts',
      template: './public/hd/index.html',
      filename: 'index.html'
    }
  },
  // hd
  "hd_prod": {
    CHAIN_BROWSER_URL_PREFIX: 'https://cx.honordecent.com/',
    INERFACE_URL_PREFIX: 'https://sy.honordecent.com/api',
    INDEX: {
      entry: './src/entry/hd/main.ts',
      template: './public/hd/index.html',
      filename: 'index.html'
    }
  },
  "dl_test": {
    CHAIN_BROWSER_URL_PREFIX: 'http://120.26.174.69:9007/',
    INERFACE_URL_PREFIX: 'http://172.16.101.87:46789',
    INDEX: {
      entry: './src/entry/dl/main.ts',
      template: './public/dl/index.html',
      filename: 'index.html'
    }
  },
}
exports.model = configModules[process.env.VUE_APP_CURRENTMODE]