From ce17d42203a17120736d796d0e83b3742c4ec441 Mon Sep 17 00:00:00 2001
From: Riku <risaku@163.com>
Date: 星期二, 21 十月 2025 21:54:52 +0800
Subject: [PATCH] 2025.10.21

---
 src/api/index.js |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/api/index.js b/src/api/index.js
index fb3b440..8eac640 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -1,27 +1,28 @@
 import axios from 'axios';
 import { ElMessage } from 'element-plus';
 
-const openLog = false;
-const debug = false;
+const openLog = true;
+const debug = true;
 
 let ip1 = 'http://47.100.191.150:9029/';
-let ws = `47.100.191.150:9030`;
+let ws = `47.100.191.150:9031`;
 // console.log(import.meta.env);
 if (import.meta.env.VITE_DATA_MODE == 'jingan') {
   ip1 = 'http://114.215.109.124:8805/';
-  ws = `114.215.109.124:9030`;
+  ws = `114.215.109.124:9031`;
 }
 
 if (debug) {
-  ip1 = 'http://192.168.0.103:8084/';
-  // ip1 = 'http://localhost:8084/';
-  ws = `192.168.0.103:9031`;
-  // ws = `localhost:9031`;
+  // ip1 = 'http://192.168.0.103:8084/';
+  ip1 = 'http://localhost:8084/';
+  // ws = `192.168.0.103:9031`;
+  ws = `localhost:9031`;
 }
 
 const $http = axios.create({
   baseURL: ip1,
-  timeout: 30000
+  // timeout: 30000,
+  timeout: 0
 });
 
 //娣诲姞鎷︽埅鍣�

--
Gitblit v1.9.3