From 5165aabff82743f2693b89d6ecd852671fe509ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9A=AE=E4=BC=9F?= Date: Wed, 25 Dec 2019 13:35:03 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90IMP=E3=80=91=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/index.js | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/src/config/index.js b/src/config/index.js index 1e89bef8d..253ccc47d 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -11,51 +11,34 @@ let apiDomain, imgDomain, assetsUrl, mainUrl, payUrl // 保融支付的收银台 console.log('环境:', process.env.VUE_APP_FLAG) switch (process.env.VUE_APP_FLAG) { case 'dev': - // apiDomain = 'http://47.96.143.111:7000/api/v1' apiDomain = 'http://139.199.50.151:7000/api/v1' // 国富api - // apiDomain = 'http://10.11.2.247004/' - // imgDomain = 'http://10.10.100.98:7012/updown' // dev imgDomain = 'http://211.159.248.123:7012/updown' // dev - // 静态服务资源 assetsUrl = 'http://139.199.50.151:8000/app/' mainUrl = 'http://139.199.50.151' - // payUrl = 'http://10.10.100.84:7003/s3-modules-gateway/embed/gateway.action' payUrl = 'http://funduat.e-guofu.com/s3-modules-gateway/embed/gateway.action' break case 'uat': apiDomain = 'http://115.159.235.59:7000/api/v1' // 国富api - // apiDomain = 'http://10.11.2.247004/' - // imgDomain = 'http://10.10.100.98:7012/updown' // dev - imgDomain = 'http://139.199.50.145:7012/updown' // dev - + imgDomain = 'http://139.199.50.145:7012/updown' // 静态服务资源 assetsUrl = 'http://115.159.235.59:8000/app/' mainUrl = 'http://115.159.235.59' - // payUrl = 'http://10.10.100.84:7003/s3-modules-gateway/embed/gateway.action' payUrl = 'http://funduat.e-guofu.com/s3-modules-gateway/embed/gateway.action' break case 'prd': apiDomain = 'https://iagentsales.e-guofu.com/api/v1' imgDomain = 'https://iagentsales-ud.e-guofu.com:8553/updown' - // imgDomain = 'http://10.10.100.98:7012/updown' // 上生产前 - // 静态服务资源 - // assetsUrl = 'http://211.159.248.138:7001/' // 上生产前 assetsUrl = 'https://iagentsales-sr.e-guofu.com:8443/' mainUrl = 'https://iagentsales.e-guofu.com' payUrl = 'https://uns3.e-guofu.com/s3-modules-gateway/embed/gateway.action' break case 'dat': - // apiDomain = 'http://47.96.143.111:7000/api/v1' - apiDomain = '' // 国富api - // apiDomain = 'http://10.11.2.247004/' - // imgDomain = 'http://10.10.100.98:7012/updown' // dev - imgDomain = '' // dev - + apiDomain = '' + imgDomain = '' // 静态服务资源 assetsUrl = '' mainUrl = '' - // payUrl = 'http://10.10.100.84:7003/s3-modules-gateway/embed/gateway.action' payUrl = '' break }