diff --git a/.env.development b/.env.development index 5ea546f..b6942cb 100644 --- a/.env.development +++ b/.env.development @@ -3,11 +3,11 @@ NODE_ENV = 'development' # 本地环境接口地址(/api/index.ts文件中使用) VITE_API_URL = 'http://192.168.34.155:6688' -VITE_WPAPI_URL = "http://182.90.224.147:8081" -# VITE_API_URL = "http://182.90.224.147:6688" +VITE_WPAPI_URL = "http://jxjzw.zhgdyun.com:8081" +# VITE_API_URL = "http://jxjzw.zhgdyun.com:6688" # VITE_API_URL = "http://47.104.132.250:9000" # 上传 # VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' -VITE_ULD_API_URL = 'http://182.90.224.147:8012/onlinePreview?url=' +VITE_ULD_API_URL = 'http://jxjzw.zhgdyun.com:8012/onlinePreview?url=' diff --git a/.env.production b/.env.production index 7e6c8db..4b5013b 100644 --- a/.env.production +++ b/.env.production @@ -3,14 +3,15 @@ NODE_ENV = "production" # 线上环境接口地址(easymock) # VITE_API_URL = "http://139.9.66.234:6688" -# VITE_API_URL = "http://182.90.224.147:6688" -# VITE_API_URL = "http://182.90.224.147:9012" +# VITE_API_URL = "http://jxjzw.zhgdyun.com:6688" +# VITE_API_URL = "http://jxjzw.zhgdyun.com:9012" VITE_API_URL = "http://47.104.132.250:9000" -VITE_WPAPI_URL = "http://182.90.224.147:8081" +# VITE_API_URL = "http://nhjzgcgl.weihai.cn" +VITE_WPAPI_URL = "http://jxjzw.zhgdyun.com:8081" # VITE_API_URL = "http://101.43.164.214:6688" # VITE_API_URL = "https://wx.antjg.com:6081/" # 打包 -VITE_ULD_API_URL = 'http://182.90.224.147:8012/onlinePreview?url=' +VITE_ULD_API_URL = 'http://jxjzw.zhgdyun.com:8012/onlinePreview?url=' diff --git a/public/niuniuJS/js/capturewrapper.js b/public/niuniuJS/js/capturewrapper.js index df72c17..1068c93 100644 --- a/public/niuniuJS/js/capturewrapper.js +++ b/public/niuniuJS/js/capturewrapper.js @@ -251,7 +251,7 @@ function UploadData() } $.ajax({ type: "POST", - url: "http://182.90.224.147:6688/xmgl/file/uploadBase64", + url: "http://jxjzw.zhgdyun.com:6688/xmgl/file/uploadBase64", dataType: "json", headers:{'content-type': "application/json"}, data: JSON.stringify(data), diff --git a/src/layouts/components/Header/components/Message.vue b/src/layouts/components/Header/components/Message.vue index aedad06..da29d69 100644 --- a/src/layouts/components/Header/components/Message.vue +++ b/src/layouts/components/Header/components/Message.vue @@ -110,7 +110,7 @@ const createMqttConnect = () => { // const wsurl = "ws://182.90.224.147:1883"; // let wx = new WebSocket(wsurl); // mqtt方法 - let url = "ws://182.90.224.147:8083/mqtt"; + let url = "ws://jxjzw.zhgdyun.com:8083/mqtt"; // client.subscribe("test-topic/123"); // client.on("message", con => { // console.log(con); diff --git a/src/views/goverment/largeScreen/components/mapView.vue b/src/views/goverment/largeScreen/components/mapView.vue index 5454228..ec6f800 100644 --- a/src/views/goverment/largeScreen/components/mapView.vue +++ b/src/views/goverment/largeScreen/components/mapView.vue @@ -7,7 +7,7 @@ import { onMounted } from "vue"; import * as mars3d from "mars3d"; onMounted(() => { - const configUrl = "http://182.90.224.147:6080/file/config/config.json"; + const configUrl = "http://jxjzw.zhgdyun.com:6080/file/config/config.json"; mars3d.Util.fetchJson({ url: configUrl }).then(data => { initMars3d(data.map3d); });