From c2eb0148b4c0cce05d1a08546ed329c9a5853683 Mon Sep 17 00:00:00 2001 From: helloxujingliang <3225043@qq.com> Date: Tue, 5 Sep 2023 16:39:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B2=82=E6=B0=B4=E5=8E=BF=E6=9E=97=E4=B8=9A?= =?UTF-8?q?=E9=98=B2=E7=81=AB=E6=9C=8D=E5=8A=A1=E7=AB=AF=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.prod | 6 +++--- public/config/app.json | 4 ++-- src/utils/websocketApi.js | 2 +- src/views/dashboard/admin/index.vue | 2 +- src/views/home/index.vue | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.env.prod b/.env.prod index 7ce565b..b06fbab 100644 --- a/.env.prod +++ b/.env.prod @@ -1,8 +1,8 @@ NODE_ENV = production # 正式服务器 -VUE_APP_BASE_API =http://221.2.83.254:9001/api -VUE_APP_BASE_IMG_URL =http://221.2.83.254:9001 +VUE_APP_BASE_API =http://60.217.22.180:9001/api +VUE_APP_BASE_IMG_URL =http://60.217.22.180:9001 # 测试服务区 # VUE_APP_BASE_API = http://123.132.248.154:9224/api -# VUE_APP_BASE_IMG_URL = http://123.132.248.154:9224 +# VUE_APP_BASE_IMG_URL = http://123.132.248.154:9224 \ No newline at end of file diff --git a/public/config/app.json b/public/config/app.json index 032e991..60f81cf 100644 --- a/public/config/app.json +++ b/public/config/app.json @@ -28,8 +28,8 @@ "feixian":{ "appname":"沂水县智慧林业防灭火平台", "area":"沂水县", - "baseUrl":"http://223.99.16.253:9001", - "layerurl":"http://223.99.16.253:9006/applicationMars/getApplicationInfo/feixian", + "baseUrl":"http://60.217.22.180:9001", + "layerurl":"http://60.217.22.180:9006/applicationMars/getApplicationInfo/yishuixian", "uavWebSocketUrl":"ws://123.132.248.154:9211/", "map":{ "center":[], diff --git a/src/utils/websocketApi.js b/src/utils/websocketApi.js index d8dd712..3c34f5b 100644 --- a/src/utils/websocketApi.js +++ b/src/utils/websocketApi.js @@ -1,3 +1,3 @@ -const WS_URL_PRODUCTION = 'ws://221.2.83.254:9002/ws' +const WS_URL_PRODUCTION = 'ws://60.217.22.180:9002/ws' // const WS_URL_PRODUCTION = 'ws://123.132.248.154:9225/ws' export const WS_URL = WS_URL_PRODUCTION diff --git a/src/views/dashboard/admin/index.vue b/src/views/dashboard/admin/index.vue index 79bc69b..729e39c 100644 --- a/src/views/dashboard/admin/index.vue +++ b/src/views/dashboard/admin/index.vue @@ -1,6 +1,6 @@ diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 6db3a5a..e5adc13 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -822,7 +822,7 @@ export default { attr: { remark: "森林防灭火指挥中心" }, }); - _self.graphicLayer.addGraphic(graphic); // 还可以另外一种写法: graphic.addTo(graphicLayer) + // _self.graphicLayer.addGraphic(graphic); // 还可以另外一种写法: graphic.addTo(graphicLayer) _self.bindShowTilesParts(); const mapContextmenuItems = [