let urls = { api: '', socket: '' } if(process.env.NODE_ENV === 'development'){ // 开发环境 urls.api = 'http://10.155.32.18:8088' urls.socket = 'ws://10.155.32.18:8088' // urls.api = 'http://124.70.18.168:8617' // urls.socket = 'ws://124.70.18.168:8617' }else{ // t2预发布环境 // urls.api = 'https://t2-api.jeegen.com' // urls.socket = 'wss://t2-api.jeegen.com' // 生产环境 urls.api = 'http://10.155.32.18:8088' urls.socket = 'ws://10.155.32.18:8088' // 同域 // urls.api = '' // urls.socket = '' } export default urls