const ciaEnvList = { inte:'http://inte-cia.chanapp.chanjet.com', moni:'http://moni-cia.chanapp.chanjet.com', prod:'https://cia.chanapp.chanjet.com' } const clientId:string = 'tplusclient'; const clientSecret:string = 'pwjd5q'; const cspAk:string = (typeof __AK__ !== 'undefined' ? btoa(__AK__) : "OGY0NDJlYzMtNzEzZS00MTMzLWI2NGMtNWQyZDgyOGM1NDI2"); const cspAS:string = (typeof __AS__ !== 'undefined' ?btoa(__AS__) : 'amp5M3Vo'); const proxyServer:string = 'http://cloudproxy01.chanapp.chanjet.com'; const authKey:string = 'AuthKey'; const authKeys:Array = ['userId','OrganID','accessToken','orgId','tplusToken','sid','authorization']; const channelKey:string = 'ChannelKey'; const channelKeys:Array = ['targetURL','throughProxy']; const clientInfoKey:string = 'ClientInfoKey'; const ciaHostArray:Array = [ciaEnvList['inte'],ciaEnvList['moni'],ciaEnvList['prod']]; const ciaHost:string = (typeof __CIA_ENV__ !== 'undefined' ? ciaEnvList[__CIA_ENV__] : ciaEnvList['prod']); const tplusWebAppApiHost:string = 'https://webapp.tplus.chanjet.com/TPlus/api/v1/'; const tplusHostArray:Array = ['http://webapp.tplus.chanjet.com','https://webapp.tplus.chanjet.com','http://test-webapp.tplus.chanjet.com','https://test-webapp.tplus.chanjet.com']; const noProxyHostArray:Array = ['log.aliyuncs.com']; const noErrorTips:Array = ['log.aliyuncs.com']; const devProxyHost:string = 'http://' + (typeof __PROXY_URL__ !== 'undefined' ? __PROXY_URL__ : 'localhost') + ':' + (typeof __PROXY_PORT__ !== 'undefined' ? parseInt(__PROXY_PORT__) + 1 : '3001') + '/proxy'; const prodProxyHost:string = 'https://tfproxy.chanjet.com'; export { clientId, clientSecret, cspAk, cspAS, proxyServer, authKey, authKeys, channelKey, channelKeys, clientInfoKey, ciaHostArray, tplusHostArray, devProxyHost, prodProxyHost, ciaHost, tplusWebAppApiHost, noProxyHostArray, noErrorTips }