var config = function(env) {
    let WEB_CONF = {}
    if (env === 'test') {
        WEB_CONF = {
			brandId: 102,
			xcxHouseId: '100296',
            miniAppUrl: 'https://h5test.elab-plus.com/',
            zipUrl: 'http://139.196.5.59:5307',
            uploadUrl: 'http://101.132.138.87:5555', //文件上传
            api_url: 'https://gatewaytest.elab-plus.vip/', //測試
            redirect_uri: 'https://h5test1.elab-plus.com/krpano/template', // 授权回调地址
			min_uri: 'https://dm.static.elab-plus.com/miniProgram/webgl/test1/index.html#/', // H5小程序的地址
			ws_url: 'wss://wstest3.skyforestcity.com/',
            themeColor1: '#FFD09F',
            themeColor2: '#FFAD5C',
            themeColor3: '#EF863F',
            themeColor4: '#FFDF80',
            themeColor5: '#848EFF',
            themeColor6: '#76BCFF',
            themeColor7: '#85FDF0',
            themeColor8: '#FFEDB9',
            themeColor9: '#FFFFFF',
            themeColor10: '#000000',
            themeColor11: '#B4FACB',
            themeColor12: '#4D7B5C',
			clientId:'1112011009',
			appId:'1758586978178079',
            baiduAppid:'d06f13eae4d2bc56f5fa7359784c0af9',
        }
    } else if (env === 'test2') {
        WEB_CONF = {
			brandId: 102,
			xcxHouseId: '100296',
            miniAppUrl: 'https://h5test.elab-plus.com/',
            zipUrl: 'http://139.196.5.59:5307',
            uploadUrl: 'http://106.14.187.241:5555', //文件上传
            api_url: 'https://gatewaytest1.elab-plus.com/', //測試
            redirect_uri: 'https://h5test1.elab-plus.com/krpano/template', // 授权回调地址
            // min_uri: 'https://dm.static.elab-plus.com/miniProgram/webgl/test1/index.html#/', // H5小程序的地址
            min_uri: 'https://h5test1.elab-plus.com/web/qiance/index.html#/', // H5小程序的地址
			ws_url: 'wss://wstest3.skyforestcity.com/',
			// ws_url: 'ws://192.168.50.190:5556/',
            themeColor1: '#FFD09F',
            themeColor2: '#FFAD5C',
            themeColor3: '#EF863F',
            themeColor4: '#FFDF80',
            themeColor5: '#848EFF',
            themeColor6: '#76BCFF',
            themeColor7: '#85FDF0',
            themeColor8: '#FFEDB9',
            themeColor9: '#FFFFFF',
            themeColor10: '#000000',
            themeColor11: '#B4FACB',
            themeColor12: '#4D7B5C',
			clientId:'1112011009',
			appId:'1758586978178079',
            baiduAppid:'d06f13eae4d2bc56f5fa7359784c0af9',
        }
    } else if (env === 'test3') {
        WEB_CONF = {
			brandId: 102,
			xcxHouseId: '100296',
            miniAppUrl: 'https://h5test.elab-plus.com/',
            zipUrl: 'http://139.196.5.59:5307',
            uploadUrl: 'http://106.14.187.241:5555', //文件上传
            api_url: 'https://gatewaytest3.skyforestcity.com/', //測試
            redirect_uri: 'https://h5test3.elab-plus.net/krpano/template', // 授权回调地址
			min_uri: 'https://dm.static.elab-plus.com/miniProgram/webgl/test1/index.html#/', // H5小程序的地址
            ws_url: 'wss://wstest3.skyforestcity.com/',
			themeColor1: '#FFD09F',
            themeColor2: '#FFAD5C',
            themeColor3: '#EF863F',
            themeColor4: '#FFDF80',
            themeColor5: '#848EFF',
            themeColor6: '#76BCFF',
            themeColor7: '#85FDF0',
            themeColor8: '#FFEDB9',
            themeColor9: '#FFFFFF',
            themeColor10: '#000000',
            themeColor11: '#B4FACB',
            themeColor12: '#4D7B5C',
			clientId:'1112011009',
			appId:'1758586978178079',
            baiduAppid:'d06f13eae4d2bc56f5fa7359784c0af9',
        }
    } else if (env === 'test4') {
        WEB_CONF = {
			brandId: 102,
			xcxHouseId: '100296',
            miniAppUrl: 'https://h5test.elab-plus.com/',
            zipUrl: 'http://139.196.5.59:5307',
            uploadUrl: 'http://106.14.187.241:5555', //文件上传
            api_url: 'https://gatewaytest4.skyforestcity.com/', //測試
            redirect_uri: 'https://h5test1.elab-plus.com/krpano/template', // 授权回调地址
            themeColor1: '#FFD09F',
            themeColor2: '#FFAD5C',
            themeColor3: '#EF863F',
            themeColor4: '#FFDF80',
            themeColor5: '#848EFF',
            themeColor6: '#76BCFF',
            themeColor7: '#85FDF0',
            themeColor8: '#FFEDB9',
            themeColor9: '#FFFFFF',
            themeColor10: '#000000',
            themeColor11: '#B4FACB',
            themeColor12: '#4D7B5C',
            clientId:'1112011009',
            appId:'1758586978178079',
            baiduAppid:'d06f13eae4d2bc56f5fa7359784c0af9',
        }
    } else if (env === 'dev') {
        WEB_CONF = {
			brandId: 94,
			xcxHouseId: '100296',
            miniAppUrl: 'http://h5test.elab-plus.com/',
            zipUrl: 'http://139.196.5.59:5307',
            uploadUrl: 'http://192.168.50.104:5555', //文件上传
            api_url: 'http://192.168.50.104:5555/', //开发
            redirect_uri: 'https://h5test1.elab-plus.com/krpano/template', // 授权回调地址
            themeColor1: '#FFD09F',
            themeColor2: '#FFAD5C',
            themeColor3: '#EF863F',
            themeColor4: '#FFDF80',
            themeColor5: '#848EFF',
            themeColor6: '#76BCFF',
            themeColor7: '#85FDF0',
            themeColor8: '#FFEDB9',
            themeColor9: '#FFFFFF',
            themeColor10: '#000000',
            themeColor11: '#B4FACB',
            themeColor12: '#4D7B5C',
			clientId:'1112011009',
			appId:'1758586978178079',
            baiduAppid:'d06f13eae4d2bc56f5fa7359784c0af9',
        }
    } else if (env === 'uat') {
        WEB_CONF = {
			brandId: 94,
			xcxHouseId: '11121',
            miniAppUrl: 'https://mng-uat.elaber.cn/',
            uploadUrl: 'https://api-uat.elaber.cn', //文件上传地址
            api_url: 'https://api-uat.elaber.cn/', //堡垒 接口地址https://dm.static.elab-plus.com/Kq3t1c3IDV.txt
            redirect_uri: 'https://mng-uat.elaber.cn/krpano/template', // 授权回调地址
            themeColor1: '#FFD09F',
            themeColor2: '#FFAD5C',
            themeColor3: '#EF863F',
            themeColor4: '#FFDF80',
            themeColor5: '#848EFF',
            themeColor6: '#76BCFF',
            themeColor7: '#85FDF0',
            themeColor8: '#FFEDB9',
            themeColor9: '#FFFFFF',
            themeColor10: '#000000',
            themeColor11: '#B4FACB',
            themeColor12: '#4D7B5C',
            clientId:'1112013355',
			appId:'1758979466364941',
            baiduAppid:'9a7c9c156493ffbb48bd562112e1161a',
        }
    } else if (env === 'uat3') {
        WEB_CONF = {
			brandId: 94,
			xcxHouseId: '11121',
            miniAppUrl: 'https://mng-uat3.elaber.cn/',
            uploadUrl: 'https://api-uat3.elaber.cn', //文件上传地址
            api_url: 'https://api-uat3.elaber.cn/', //堡垒 接口地址https://dm.static.elab-plus.com/Kq3t1c3IDV.txt
            redirect_uri: 'https://mng-uat3.elaber.cn/krpano/template', // 授权回调地址
            themeColor1: '#FFD09F',
            themeColor2: '#FFAD5C',
            themeColor3: '#EF863F',
            themeColor4: '#FFDF80',
            themeColor5: '#848EFF',
            themeColor6: '#76BCFF',
            themeColor7: '#85FDF0',
            themeColor8: '#FFEDB9',
            themeColor9: '#FFFFFF',
            themeColor10: '#000000',
            themeColor11: '#B4FACB',
            themeColor12: '#4D7B5C',
            clientId:'1112013355',
            appId:'1758979466364941',
            baiduAppid:'9a7c9c156493ffbb48bd562112e1161a',
        }
    } else if (env === 'production') {
        WEB_CONF = {
			brandId: 109,
            miniAppUrl: 'https://dm-mng.elab-plus.com.cn/',
            uploadUrl: 'https://dm-api.elab-plus.cn', //文件上传
            api_url: 'https://dm-api.elab-plus.cn/', //接口地址
            redirect_uri: 'http://city.1949plus.com', // 授权回调地址
			min_uri: 'https://map.elab-plus.com.cn/1949plus/index.html#/', // H5小程序的地址
			ws_url: 'wss://websocket.elab-plus.cn/',
			xcxHouseId: '11121',
            themeColor1: '#7AB47C',
            themeColor2: '#A7CE80',
            themeColor3: '#EEFFE6',
            themeColor4: '#F8F8F8',
            themeColor5: 'rgba(122, 180, 124, 0.5)',
            themeColor6: 'rgba(122, 180, 124, 0.2)',
            themeColor7: 'rgba(220, 252, 168, 0.5)',
            themeColor8: 'rgba(220, 252, 168, 0.2)',
            themeColor9: '#292D33',
            themeColor10: '#FFFFFF',
            themeColor11: '#B4FACB',
            themeColor12: '#4D7B5C',
            clientId:'1112009742',
			appId:'1758704971288606',
            baiduAppid:'30c97c277abecefe282aaa2ea7fa4115',
        }
    }
    return WEB_CONF
}
module.exports = config;
