【m】删除无用代码

This commit is contained in:
2026-05-18 21:12:05 +08:00
parent a8ceb194f6
commit 66656c961c
60 changed files with 719 additions and 3147 deletions

View File

@@ -91,7 +91,7 @@ function add(ws: WebSocket): void {
clients.set(ws, id);
(ws as any).socketId = (ws as any).socketId || `ws_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`;
// 记录添加WebSocket连接的日志
log(LogLevel.log, `Add WebSocket: ${ws.url}`);
log(LogLevel.log, `Add WebSocket: ${(ws as any).socketId.toString() }`);
}
/**