feat: 添加 Laravel Reverb 支持,更新 .env.example 文件以配置 WebSocket,增强彩票调度功能,更新 API 路由以支持期号管理与结果发布

This commit is contained in:
2026-05-09 17:40:49 +08:00
parent 781cf10928
commit aeaf124096
42 changed files with 3886 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace App\Lottery;
/** 开奖批次状态 {@see draw_result_batches.status} */
enum DrawResultBatchStatus: string
{
/** RNG/人工录入完成,等待审核 */
case PendingReview = 'pending_review';
/** 已发布为当期有效结果 */
case Published = 'published';
/** 审核驳回(本阶段仅占位) */
case Rejected = 'rejected';
}