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

This commit is contained in:
2026-05-26 18:30:19 +08:00
parent bdd66f7bd9
commit bb5ef82d49
7 changed files with 169 additions and 69 deletions

View File

@@ -25,7 +25,6 @@ class Live extends Backend
{
$recordIdRaw = $this->request ? $this->request->get('record_id') : null;
$recordId = is_numeric((string) $recordIdRaw) ? (int) $recordIdRaw : null;
GameLiveService::recoverLiveRoundState();
return $this->success('', GameLiveService::buildSnapshot($recordId));
}
@@ -38,7 +37,6 @@ class Live extends Backend
}
$recordIdRaw = $request->get('record_id');
$recordId = is_numeric((string) $recordIdRaw) ? (int) $recordIdRaw : null;
GameLiveService::recoverLiveRoundState();
return $this->success('', GameLiveService::buildSnapshot($recordId));
}