This commit is contained in:
caozehui
2026-06-23 10:21:56 +08:00
parent cd51cfb052
commit 5ad3029e0b
10 changed files with 415 additions and 118 deletions

View File

@@ -192,7 +192,7 @@ export default class SocketService {
* WebSocket连接配置
*/
private config: SocketConfig = {
url: `ws://127.0.0.1:7778/hello`,
url: `ws://127.0.0.1:7777/hello`,
heartbeatInterval: 9000, // 9秒心跳间隔
reconnectDelay: 5000, // 5秒重连延迟
maxReconnectAttempts: 5, // 最多重连5次