更新
This commit is contained in:
@@ -3,8 +3,8 @@ import utils from '@/utils/encode'
|
||||
|
||||
// const env = process.env.NODE_ENV
|
||||
// const env = 'production'/* */
|
||||
const env = 'production'
|
||||
const testUrl = 'http://192.168.110.10:38080'
|
||||
const env = 'test'
|
||||
const testUrl = 'http://192.168.110.230:38080'
|
||||
// const productUrl = 'http://121.196.213.68/adminapi' //预生产
|
||||
|
||||
// const productUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
|
||||
@@ -12,7 +12,7 @@ const productUrl = 'http://uat.xingoil.com/adminapi' // 生产,加密 new
|
||||
const service = axios.create({
|
||||
baseURL: env == 'production' ? productUrl : testUrl,
|
||||
// baseURL: testUrl,
|
||||
timeout: 5000
|
||||
timeout: 5000
|
||||
})
|
||||
var url = ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user