diff --git a/config/dev.env.js b/config/dev.env.js index f28e990..4223837 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -10,7 +10,7 @@ // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:8083"' // BASE_API: '"http://192.168.8.201:8083/smartwell"' - BASE_API: '"http://139.198.0.132:20005/smartwell"' + BASE_API: '"http://111.198.10.15:11704/smartwell"' // BASE_API: '"http://139.198.16.38:8095/smartcity"' // BASE_API: '"http://10.9.39.8:8083"' // BASE_API: '"http://192.168.0.244:8083"' diff --git a/config/dev.env.js b/config/dev.env.js index f28e990..4223837 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -10,7 +10,7 @@ // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:8083"' // BASE_API: '"http://192.168.8.201:8083/smartwell"' - BASE_API: '"http://139.198.0.132:20005/smartwell"' + BASE_API: '"http://111.198.10.15:11704/smartwell"' // BASE_API: '"http://139.198.16.38:8095/smartcity"' // BASE_API: '"http://10.9.39.8:8083"' // BASE_API: '"http://192.168.0.244:8083"' diff --git a/config/prod.env.js b/config/prod.env.js index 3d97247..cba9892 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -3,6 +3,6 @@ NODE_ENV: '"production"', // BASE_API: '"http://119.254.103.80:14537"', // BASE_API: '"http://192.168.8.201:8083/smartwell"' - BASE_API: '"http://139.198.0.132:20005/smartwell"' + BASE_API: '"http://111.198.10.15:11704/smartwell"' // BASE_API: '"http://10.9.39.8:8083"' } diff --git a/config/dev.env.js b/config/dev.env.js index f28e990..4223837 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -10,7 +10,7 @@ // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:8083"' // BASE_API: '"http://192.168.8.201:8083/smartwell"' - BASE_API: '"http://139.198.0.132:20005/smartwell"' + BASE_API: '"http://111.198.10.15:11704/smartwell"' // BASE_API: '"http://139.198.16.38:8095/smartcity"' // BASE_API: '"http://10.9.39.8:8083"' // BASE_API: '"http://192.168.0.244:8083"' diff --git a/config/prod.env.js b/config/prod.env.js index 3d97247..cba9892 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -3,6 +3,6 @@ NODE_ENV: '"production"', // BASE_API: '"http://119.254.103.80:14537"', // BASE_API: '"http://192.168.8.201:8083/smartwell"' - BASE_API: '"http://139.198.0.132:20005/smartwell"' + BASE_API: '"http://111.198.10.15:11704/smartwell"' // BASE_API: '"http://10.9.39.8:8083"' } diff --git a/package.json b/package.json index 7c1ecba..c72f9bb 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "html-webpack-plugin": "4.0.0-alpha", "mini-css-extract-plugin": "0.4.1", "node-notifier": "5.2.1", - "node-sass": "^4.7.2", + "node-sass": "^4.12.0", "optimize-css-assets-webpack-plugin": "5.0.0", "ora": "3.0.0", "path-to-regexp": "2.4.0", diff --git a/config/dev.env.js b/config/dev.env.js index f28e990..4223837 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -10,7 +10,7 @@ // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:8083"' // BASE_API: '"http://192.168.8.201:8083/smartwell"' - BASE_API: '"http://139.198.0.132:20005/smartwell"' + BASE_API: '"http://111.198.10.15:11704/smartwell"' // BASE_API: '"http://139.198.16.38:8095/smartcity"' // BASE_API: '"http://10.9.39.8:8083"' // BASE_API: '"http://192.168.0.244:8083"' diff --git a/config/prod.env.js b/config/prod.env.js index 3d97247..cba9892 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -3,6 +3,6 @@ NODE_ENV: '"production"', // BASE_API: '"http://119.254.103.80:14537"', // BASE_API: '"http://192.168.8.201:8083/smartwell"' - BASE_API: '"http://139.198.0.132:20005/smartwell"' + BASE_API: '"http://111.198.10.15:11704/smartwell"' // BASE_API: '"http://10.9.39.8:8083"' } diff --git a/package.json b/package.json index 7c1ecba..c72f9bb 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "html-webpack-plugin": "4.0.0-alpha", "mini-css-extract-plugin": "0.4.1", "node-notifier": "5.2.1", - "node-sass": "^4.7.2", + "node-sass": "^4.12.0", "optimize-css-assets-webpack-plugin": "5.0.0", "ora": "3.0.0", "path-to-regexp": "2.4.0", diff --git a/src/views/overview/overviewBdOffline.vue b/src/views/overview/overviewBdOffline.vue index 4ac2e80..0f7075c 100644 --- a/src/views/overview/overviewBdOffline.vue +++ b/src/views/overview/overviewBdOffline.vue @@ -433,7 +433,7 @@ // 获取token保存到vuex中的用户信息,此处仅适用于本项目,注意删除或修改 // 实例化socket,这里我把用户名传给了后台,使后台能判断要把消息发给哪个用户,其实也可以后台直接获取用户IP来判断并推送 // const socketUrl = 'ws://192.168.0.203:9100/army/webSocket/' + this.$store.getters.username - const socketUrl = 'ws://139.198.0.132:20007/army/webSocket/' + this.$store.getters.username + const socketUrl = 'ws://111.198.10.15:11707/army/webSocket/' + this.$store.getters.username // const socketUrl = 'ws://127.0.0.1:8090/ws/' + this.$store.getters.username console.log(socketUrl) this.socket = new WebSocket(socketUrl)