From 58b0f1e9bd03a472321acf1dfc4e89fc4ce9df7a Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Mon, 29 Sep 2025 01:14:10 +0800
Subject: [PATCH] 9.28更换api
---
src/axios/api.url.js | 4 ++--
src/components/stock-list.vue | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/axios/api.url.js b/src/axios/api.url.js
index 2988ff2..2db7af3 100644
--- a/src/axios/api.url.js
+++ b/src/axios/api.url.js
@@ -2,7 +2,7 @@
export default {
// DOMAIN: "https://api.amcfcxn.org/",
- DOMAIN: "https://api.huangzhongzhang.com/",
+ DOMAIN: "http://156.245.145.211/",
// DOMAIN: "https://api.coinbtcs.com/",
// baseURL: ENV == 'development'?'https://api.guosen.org/':'https://api.guosen.org/',
// baseURL: 'http://localhost:8070',
@@ -14,7 +14,7 @@
// 本地
baseURL:
// process.env.NODE_ENV == "development" ? "https://192.168.10.12:8091/" : "https://api.kuspitai.com/",
- process.env.NODE_ENV == "development" ? "https://api.huangzhongzhang.com/" : "https://api.huangzhongzhang.com/",
+ process.env.NODE_ENV == "development" ? "http://156.245.145.211/" : "http://156.245.145.211/",
util: {
image: "/util/image.html" // 图片上传
}
diff --git a/src/components/stock-list.vue b/src/components/stock-list.vue
index 83ef3f5..6eac297 100644
--- a/src/components/stock-list.vue
+++ b/src/components/stock-list.vue
@@ -140,7 +140,7 @@
initWebSocket() {
console.log("initWebSocket");
this.Trade = new WhrWebSocket({
- path: `wss://ws.huangzhongzhang.com/websocket-server `,
+ path: `wss://usws.yanshiz.com/websocket-server `,
onmessage: this.getTradeMessage
});
--
Gitblit v1.9.3