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,20 +2,20 @@
namespace App\Http\Controllers\Api\V1\Ticket;
use App\Http\Controllers\Controller;
use App\Models\Draw;
use App\Models\Player;
use App\Models\TicketCombination;
use App\Models\TicketItem;
use App\Services\Draw\DrawResultViewService;
use App\Support\ApiResponse;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use App\Models\TicketCombination;
use Illuminate\Http\JsonResponse;
use App\Http\Controllers\Controller;
use App\Services\Draw\DrawResultViewService;
/**
* `GET /api/v1/ticket/draws/{draw_no}/my-match` 当期本人号码与已发布开奖 23 格的交集(用于开奖页高亮)。
*/
class TicketDrawMyMatchController extends Controller
final class TicketDrawMyMatchController extends Controller
{
public function __construct(
private readonly DrawResultViewService $drawResultView,