minaEnv.ts 607 Bytes
/**
 *环境切换值
 * 0: 本地开发环境
 * 1: 测试环境
 * 2: 正式环境

 */
const envLevel = 2;

/**
 * 后台接口
 */
const serverUrlProduce = [
  "http://10.9.1.180", // http://10.9.1.180/open/qx-apaas-custom/hczd/index
  "https://test.qgutech.com",
  "http://8.130.95.162",
][envLevel];

const corpCode = [
  'default', // cheng
  'hczd',//徽辰智电
  'xdwl', // xdwl
  'xdwl',
  'xdwl'
][envLevel];

const env = {
  server: `${serverUrlProduce}`,// 后台api接口地址
  qx_api: 'qx-api',
  corpCode: corpCode,
  sutingche_app_id: 'wx8ebaa8e3c30eff3b'
};

export default env;