[游戏管理]游戏实时对局

This commit is contained in:
2026-04-16 15:10:12 +08:00
parent 15fdd3ba57
commit c7149e7058
29 changed files with 1158 additions and 157 deletions

View File

@@ -2,7 +2,7 @@
namespace app\process;
use app\common\service\GamePeriodService;
use app\common\service\GameRecordService;
use Workerman\Timer;
/**
@@ -13,7 +13,7 @@ class GamePeriodAutoTicker
public function onWorkerStart(): void
{
Timer::add(15, static function (): void {
GamePeriodService::tickAutoCreate();
GameRecordService::tickAutoCreate();
});
}
}