|
|
@ -7,7 +7,7 @@ const env = 'production'/* */ |
|
|
|
const testUrl = 'http://192.168.0.26:38080' |
|
|
|
const testUrl = 'http://192.168.0.26:38080' |
|
|
|
// const productUrl = 'http://121.196.213.68/adminapi' //预生产
|
|
|
|
// const productUrl = 'http://121.196.213.68/adminapi' //预生产
|
|
|
|
|
|
|
|
|
|
|
|
const productUrl = 'http://119.177.60.118:8000/adminapi' // 生产,加密 new
|
|
|
|
const productUrl = 'http://uat.xingoil.com/adminapi' // 生产,加密 new
|
|
|
|
// const productUrl = 'http://uat.xingoil.com/adminapi' // 生产,加密 new
|
|
|
|
// const productUrl = 'http://uat.xingoil.com/adminapi' // 生产,加密 new
|
|
|
|
const service = axios.create({ |
|
|
|
const service = axios.create({ |
|
|
|
baseURL: env == 'production' ? productUrl : testUrl, |
|
|
|
baseURL: env == 'production' ? productUrl : testUrl, |
|
|
|