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