1. 完善websocket通信逻辑

2. 实现Switch接口
This commit is contained in:
2025-09-08 14:59:42 +08:00
parent a6ee1013ca
commit 6a2d97b543
7 changed files with 499 additions and 19 deletions

View File

@@ -20,4 +20,9 @@ database:
# 连接池配置
max_open_conns: 5
max_idle_conns: 5
conn_max_lifetime: 300 # 5分钟
conn_max_lifetime: 300 # 5分钟
# WebSocket配置
websocket:
# WebSocket请求超时时间(秒)
timeout: 5