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