fix: 环境地址修改

This commit is contained in:
kun 2023-10-16 11:34:07 +08:00
parent 616239ba27
commit 1478fbbcf1
5 changed files with 11 additions and 10 deletions

View File

@ -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='

View File

@ -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='

View File

@ -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),

View File

@ -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);

View File

@ -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);
});