diff --git a/package.json b/package.json index d7a879d..a0981db 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "main": ".roadhogrc.mock.js", "repository": { "type": "git", - "url": "http://47.122.43.22:3000/wyw/mh_jy_safe_web.git" + "url": "http://121.41.2.71:3000/wyw/mh_jy_safe_web.git" }, "author": "", "license": "ISC" diff --git a/src/config.js b/src/config.js index 04cf3df..278bb65 100644 --- a/src/config.js +++ b/src/config.js @@ -28,9 +28,9 @@ const config = { picServerHost: 'http://localhost:5199', dataVUrl: "http://localhost:8062/home", version: version, - guideSeverHost: "http://47.122.43.22/apk/", - guideH5Host: "http://47.122.43.22:9100/", - h5Web: "http://47.122.43.22:9201/", + guideSeverHost: "http://121.41.2.71/apk/", + guideH5Host: "http://121.41.2.71:9100/", + h5Web: "http://121.41.2.71:9201/", }, cloud: { serviceHost: api => { @@ -51,18 +51,18 @@ const config = { test: { serviceHost: api => { const apis = getServiceHost(api) - return `http://47.122.43.22:${apis}` + return `http://121.41.2.71:${apis}` }, - flowServiceHost: "http://47.122.43.22:3188", + flowServiceHost: "http://121.41.2.71:3188", cookieDomain: "", - hmiUrl: "http://47.122.43.22:8098/", - webSocketHost: 'ws://47.122.43.22:3140/', - picServerHost: 'http://47.122.43.22:5199', - dataVUrl: "http://47.122.43.22:3167/home", + hmiUrl: "http://121.41.2.71:8098/", + webSocketHost: 'ws://121.41.2.71:3140/', + picServerHost: 'http://121.41.2.71:5199', + dataVUrl: "http://121.41.2.71:3167/home", version: version, - guideSeverHost: "http://47.122.43.22/apk/", - guideH5Host: "http://47.122.43.22:9100/", - h5Web: "http://47.122.43.22:9201/", + guideSeverHost: "http://121.41.2.71/apk/", + guideH5Host: "http://121.41.2.71:9100/", + h5Web: "http://121.41.2.71:9201/", }, } @@ -89,11 +89,11 @@ switch (window.location.host) { case "xmmhe.com:5005": env = "cloud" break - case "47.122.43.22:5000": - case "47.122.43.22:5001": - case "47.122.43.22:5002": - case "47.122.43.22:5003": - case "47.122.43.22:5004": + case "121.41.2.71:5000": + case "121.41.2.71:5001": + case "121.41.2.71:5002": + case "121.41.2.71:5003": + case "121.41.2.71:5004": env = "test" break default: diff --git a/src/layout/Header.js b/src/layout/Header.js index 99139aa..327768c 100644 --- a/src/layout/Header.js +++ b/src/layout/Header.js @@ -555,7 +555,7 @@ function Header(props) {
{/* */} {/* */} - {window.location.host == "47.122.43.22:8001" ? : ""} + {window.location.host == "121.41.2.71:8001" ? : ""} diff --git a/src/models/app.js b/src/models/app.js index c702383..b65403c 100644 --- a/src/models/app.js +++ b/src/models/app.js @@ -21,7 +21,7 @@ export default { if (window.navigator.userAgent.indexOf("Windows") < 1) { window.location.replace(config.guideH5Host) - // window.location.href="http://47.122.43.22:9100" + // window.location.href="http://121.41.2.71:9100" // dispatch(routerRedux.push('/HomeMobileNew')) } else diff --git a/src/routes/HomeMobileNew.js b/src/routes/HomeMobileNew.js index 8e9dfee..451bca7 100644 --- a/src/routes/HomeMobileNew.js +++ b/src/routes/HomeMobileNew.js @@ -37,7 +37,7 @@ const formItemLayout = { labelCol: { span: 6 }, wrapperCol: { span: 14 }, }; -// window.location.href="http://47.122.43.22:9100" +// window.location.href="http://121.41.2.71:9100" const openNotification = placement => { notification.info({ duration: null,