let APP_NAME = '奖金结算系统';
let SERVER_API_DOMAIN = 'back.bonus.ar.wqcms.com';
let SERVER_API_HTTP_TYPE = 'http://';
let SERVER_API_PORT = '';  // ':8102'
let SERVER_API_VERSION = 'v1';
let REQUEST_URL = `${SERVER_API_HTTP_TYPE}${SERVER_API_DOMAIN}${SERVER_API_PORT}/${SERVER_API_VERSION}/`;
let WEBSOCKET_HOST = 'ws://127.0.0.1:9512';
let DEVICE_TYPE = 'pc';
let ACCESS_TOKEN_PREFIX = 'Bearer ';
let CDN_BASE_URL = 'http://upload.ar.wqcms.com';
let CDN_IMG_URL = `${CDN_BASE_URL}/cdn/`;
let PRICE_IS_ROUND = true;
let FRONTEND_SERVER = 'http://bonusfront.ar.wqcms.com';
if(process.env.NODE_ENV === 'development'){
    APP_NAME = '奖金结算系统';
    SERVER_API_DOMAIN = 'backapi.anran.leo';
    SERVER_API_HTTP_TYPE = 'http://';
    SERVER_API_PORT = '';  // ':8102'
    SERVER_API_VERSION = 'v1';
    REQUEST_URL = `${SERVER_API_HTTP_TYPE}${SERVER_API_DOMAIN}${SERVER_API_PORT}/${SERVER_API_VERSION}/`;
    WEBSOCKET_HOST = 'ws://127.0.0.1:9512';
    DEVICE_TYPE = 'pc';
    ACCESS_TOKEN_PREFIX = 'Bearer ';
    CDN_BASE_URL = 'http://abc.anran.io';
    CDN_IMG_URL = `${CDN_BASE_URL}/cdn/`;
    PRICE_IS_ROUND = true;
    FRONTEND_SERVER = 'http://localhost:8103';
}

export {APP_NAME, SERVER_API_DOMAIN, SERVER_API_HTTP_TYPE, SERVER_API_PORT, SERVER_API_VERSION, REQUEST_URL, WEBSOCKET_HOST, DEVICE_TYPE,  ACCESS_TOKEN_PREFIX, CDN_BASE_URL, CDN_IMG_URL, PRICE_IS_ROUND,FRONTEND_SERVER};

