let OTHER_HOST='' if(process.env.UNI_PLATFORM =="mp-weixin"){ const { envVersion } = uni.getAccountInfoSync().miniProgram; if (envVersion == "release") { OTHER_HOST='https://wx.igandan.com' }else{ OTHER_HOST='https://dev-wx.igandan.com' } }else{ //OTHER_HOST='https://dev-wx.igandan.com' OTHER_HOST='https://wx.igandan.com' } export default OTHER_HOST