refactor:拆分 API 路由与请求校验,统一 final 类和代码风格

This commit is contained in:
2026-05-13 11:54:40 +08:00
parent 5d2dbdbe1d
commit 805847954d
281 changed files with 1886 additions and 1308 deletions

View File

@@ -2,14 +2,14 @@
namespace Database\Seeders;
use App\Lottery\DrawResultBatchStatus;
use App\Lottery\DrawStatus;
use App\Models\Draw;
use App\Models\DrawResultBatch;
use App\Models\DrawResultItem;
use App\Services\Draw\DrawPrizeLayout;
use Carbon\Carbon;
use App\Models\Draw;
use App\Lottery\DrawStatus;
use App\Models\DrawResultItem;
use App\Models\DrawResultBatch;
use Illuminate\Database\Seeder;
use App\Lottery\DrawResultBatchStatus;
use App\Services\Draw\DrawPrizeLayout;
/**
* 【本地演示】写入若干条 `draws` + 一条带完整 23 组开奖,便于前端大厅 / 开奖结果联调。
@@ -22,7 +22,7 @@ use Illuminate\Database\Seeder;
* php artisan db:seed --class="Database\\Seeders\\DrawDemoSeeder"
* ```
*/
class DrawDemoSeeder extends Seeder
final class DrawDemoSeeder extends Seeder
{
public function run(): void
{