feat: add wallet transfer reconcile command and schedule task

新增钱包划转对账命令行工具与定时任务,用于扫描主站与彩票侧的转账流水差异,记录掉单和异常划转单,并生成对账报告。
This commit is contained in:
2026-05-15 10:41:39 +08:00
parent 4c5a5285ff
commit 5398af0a55
4 changed files with 360 additions and 0 deletions

View File

@@ -168,6 +168,9 @@ return Application::configure(basePath: dirname(__DIR__))
})
->withSchedule(function (Schedule $schedule): void {
$schedule->command('lottery:draw-tick')->everyMinute();
$schedule->command('lottery:wallet-transfer-reconcile --lookback-hours=24 --stale-minutes=15 --limit=1000')
->everyTenMinutes()
->withoutOverlapping();
/** @see docs/01-界面文档.md §2.1 `draw.countdown` */
$schedule->command('lottery:hall-countdown')->everySecond();
})