优化更新

This commit is contained in:
2026-02-18 22:28:08 +08:00
parent b6c133952b
commit 0ecb088569
8 changed files with 107 additions and 38 deletions

View File

@@ -125,7 +125,7 @@ class WebSocketService
if (strpos($key, 'uid:') !== 0) {
continue;
}
Log::info($key . json_encode($row));
$userId = (int)substr($key, 4); // 移除 'uid:' 前缀
$fd = (int)$row['value'];