1.修复自动创建下一期bug

This commit is contained in:
2026-05-26 17:27:00 +08:00
parent 365e643072
commit 827da2058f
3 changed files with 59 additions and 12 deletions

View File

@@ -85,6 +85,9 @@ class GameWebSocketServer
if (!$hasAdminSubscriber) {
return;
}
// 与 GameLiveTicker 对齐:仅推快照时若 live ticker 未运行会导致倒计时归零但永不开奖
GameLiveService::finalizePayoutGrace();
GameLiveService::tickAutoDraw();
$snapshot = GameLiveService::buildSnapshot(null);
$payload = json_encode([
'event' => 'admin.live.snapshot',