This commit is contained in:
lixuan
2022-06-10 10:13:38 +08:00
parent 8534bd605e
commit 4ffb634e97
12 changed files with 284 additions and 7 deletions

View File

@@ -1,15 +1,16 @@
import axios from 'axios'
import utils from '@/utils/encode'
// const env = 'production' /* */
const env = 'test'// 仅用于测试、
const env = 'production' /* */
// const env = 'test'// 仅用于测试、
// const env = 'production'
//42 洛超 /29 孙志华 /40 阿浩
// 测试日日顺时需要连阿浩
const testUrl = 'http://192.168.0.28:38080'
const testUrl = 'http://192.168.0.150:38080'
// const productionUrl = 'https://www.51xingka.net/oilApp' // 生产,加密 old
const productionUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
// const productionUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
const productionUrl = 'http://192.168.0.191:38080' //测试
// const productionUrl = 'http://121.196.213.68/adminapi' //预生产
// const env = process.env.NODE_ENV // 环境
const service = axios.create({