From d7c66b0cc5e75d12b6bb94f4a259c92947cc23d4 Mon Sep 17 00:00:00 2001 From: wjn Date: Wed, 8 May 2024 11:55:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=9B=BE=E7=89=87=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomPages/PF/FormConfigSqlPage.js | 1 + src/config.js | 30 +++++++++---------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/src/components/CustomPages/PF/FormConfigSqlPage.js b/src/components/CustomPages/PF/FormConfigSqlPage.js index 3d32e33..9d6ebb6 100644 --- a/src/components/CustomPages/PF/FormConfigSqlPage.js +++ b/src/components/CustomPages/PF/FormConfigSqlPage.js @@ -250,6 +250,7 @@ class FormConfigSqlPage extends React.Component { + diff --git a/src/config.js b/src/config.js index 730edc7..b6938e8 100644 --- a/src/config.js +++ b/src/config.js @@ -24,11 +24,11 @@ const config = { flowServiceHost: "http://120.25.146.51:7188/", hmiUrl: "http://localhost:8060/", webSocketHost: 'ws://localhost:7140/', - picServerHost: 'http://47.122.43.22:3199', + picServerHost: 'http://47.122.43.22:7199', dataVUrl: "http://localhost:8062/home", - version:version, - guideSeverHost:"http://47.122.43.22/apk/", - guideH5Host:"http://47.122.43.22:9100/", + version: version, + guideSeverHost: "http://47.122.43.22/apk/", + guideH5Host: "http://47.122.43.22:9100/", }, cloud: { serviceHost: api => { @@ -39,11 +39,11 @@ const config = { cookieDomain: "", hmiUrl: "http://120.25.146.51:8098/", webSocketHost: 'ws://120.25.146.51:7140/', - picServerHost: 'http://120.25.146.51:3199', + picServerHost: 'http://120.25.146.51:7199', dataVUrl: "http://120.25.146.51:7167/home", - version:version, - guideSeverHost:"http://www.xmmhe.com/apk/", - guideH5Host:"http://www.xmmhe.com:9100/", + version: version, + guideSeverHost: "http://www.xmmhe.com/apk/", + guideH5Host: "http://www.xmmhe.com:9100/", }, test: { serviceHost: api => { @@ -54,19 +54,16 @@ const config = { cookieDomain: "", hmiUrl: "http://47.122.43.22:8098/", webSocketHost: 'ws://47.122.43.22:7140/', - picServerHost: 'http://47.122.43.22:3199', + picServerHost: 'http://47.122.43.22:7199', dataVUrl: "http://47.122.43.22:7167/home", - version:version, - guideSeverHost:"http://47.122.43.22/apk/", - guideH5Host:"http://47.122.43.22:9100/", + version: version, + guideSeverHost: "http://47.122.43.22/apk/", + guideH5Host: "http://47.122.43.22:9100/", }, } let env = "" switch (window.location.host) { - case "120.25.146.51": - env = "cloud" - break case "120.25.146.51:7001": env = "cloud" break @@ -79,6 +76,9 @@ switch (window.location.host) { case "47.122.43.22:7001": env = "test" break + case "47.122.43.22:7999": + env = "test" + break default: env = "local" break