fix: 环境地址修改
This commit is contained in:
parent
616239ba27
commit
1478fbbcf1
@ -3,11 +3,11 @@ NODE_ENV = 'development'
|
|||||||
|
|
||||||
# 本地环境接口地址(/api/index.ts文件中使用)
|
# 本地环境接口地址(/api/index.ts文件中使用)
|
||||||
VITE_API_URL = 'http://192.168.34.155:6688'
|
VITE_API_URL = 'http://192.168.34.155:6688'
|
||||||
VITE_WPAPI_URL = "http://182.90.224.147:8081"
|
VITE_WPAPI_URL = "http://jxjzw.zhgdyun.com:8081"
|
||||||
# VITE_API_URL = "http://182.90.224.147:6688"
|
# VITE_API_URL = "http://jxjzw.zhgdyun.com:6688"
|
||||||
# VITE_API_URL = "http://47.104.132.250:9000"
|
# 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://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='
|
||||||
|
|
||||||
|
|||||||
@ -3,14 +3,15 @@ NODE_ENV = "production"
|
|||||||
|
|
||||||
# 线上环境接口地址(easymock)
|
# 线上环境接口地址(easymock)
|
||||||
# VITE_API_URL = "http://139.9.66.234:6688"
|
# VITE_API_URL = "http://139.9.66.234:6688"
|
||||||
# VITE_API_URL = "http://182.90.224.147:6688"
|
# VITE_API_URL = "http://jxjzw.zhgdyun.com:6688"
|
||||||
# VITE_API_URL = "http://182.90.224.147:9012"
|
# VITE_API_URL = "http://jxjzw.zhgdyun.com:9012"
|
||||||
VITE_API_URL = "http://47.104.132.250:9000"
|
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 = "http://101.43.164.214:6688"
|
||||||
# VITE_API_URL = "https://wx.antjg.com:6081/"
|
# 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='
|
||||||
|
|
||||||
|
|||||||
@ -251,7 +251,7 @@ function UploadData()
|
|||||||
}
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: "http://182.90.224.147:6688/xmgl/file/uploadBase64",
|
url: "http://jxjzw.zhgdyun.com:6688/xmgl/file/uploadBase64",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
headers:{'content-type': "application/json"},
|
headers:{'content-type': "application/json"},
|
||||||
data: JSON.stringify(data),
|
data: JSON.stringify(data),
|
||||||
|
|||||||
@ -110,7 +110,7 @@ const createMqttConnect = () => {
|
|||||||
// const wsurl = "ws://182.90.224.147:1883";
|
// const wsurl = "ws://182.90.224.147:1883";
|
||||||
// let wx = new WebSocket(wsurl);
|
// let wx = new WebSocket(wsurl);
|
||||||
// mqtt方法
|
// mqtt方法
|
||||||
let url = "ws://182.90.224.147:8083/mqtt";
|
let url = "ws://jxjzw.zhgdyun.com:8083/mqtt";
|
||||||
// client.subscribe("test-topic/123");
|
// client.subscribe("test-topic/123");
|
||||||
// client.on("message", con => {
|
// client.on("message", con => {
|
||||||
// console.log(con);
|
// console.log(con);
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import { onMounted } from "vue";
|
|||||||
import * as mars3d from "mars3d";
|
import * as mars3d from "mars3d";
|
||||||
|
|
||||||
onMounted(() => {
|
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 => {
|
mars3d.Util.fetchJson({ url: configUrl }).then(data => {
|
||||||
initMars3d(data.map3d);
|
initMars3d(data.map3d);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user