From 2046c137c66496216fef99ea5686eb6d56a65e63 Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Mon, 6 Dec 2021 10:09:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/setting.js | 19 ++++++++++--------- src/utils/api.js | 1 + 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/setting.js b/src/setting.js index 10c3de9..d44b412 100644 --- a/src/setting.js +++ b/src/setting.js @@ -4,26 +4,27 @@ const url = location.host; const isDev = process.env.NODE_ENV === 'development'; // 开发环境 const isTest = url.includes('39.108.250.202'); //测试服 -const isPro = url.includes('120.78.127.12'); //正式服 +const isPro = url.includes('124.71.12.62'); //正式服 let jumpPath = ""; let host = ""; if (isDev) { - // jumpPath = "http://39.108.250.202/judgmentPoint/"; - jumpPath = "http://192.168.31.254:8087/"; // 本地调试-需要启动本地判分点系统 - - // host = "http://39.108.250.202:9000"; - host = "http://39.108.250.202:9000";//线上 + // jumpPath = "http://124.71.12.62/judgmentPoint/"; + jumpPath = "http://39.108.250.202/judgmentPoint/"; + // jumpPath = "http://192.168.31.254:8087/"; // 本地调试-需要启动本地判分点系统 + // host = "http://124.71.12.62:9000";//线上 + host = "http://39.108.250.202:9000";//测试 // host = 'http://192.168.31.151:9000'// 榕 // host = 'http://192.168.31.125:9000'// 坤 // host = 'http://192.168.31.137:9000'// 赓 } else if (isTest) { + // jumpPath = "http://124.71.12.62/judgmentPoint/"; jumpPath = "http://39.108.250.202/judgmentPoint/"; host = "http://39.108.250.202:9000"; - // host = "http://39.108.250.202:9000";//线上 + // host = "http://124.71.12.62:9000";//线上 } else if (isPro) { - jumpPath = ""; - host = ""; + jumpPath = "http://124.71.12.62/judgmentPoint/"; + host = "http://124.71.12.62:9000";//线上 } diff --git a/src/utils/api.js b/src/utils/api.js index 9783b3a..aa753a0 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -1,6 +1,7 @@ import Setting from "@/setting"; let host = Setting.host; +// let uploadURL = "http://124.71.12.62:9000"; let uploadURL = "http://39.108.250.202:9000"; export default {