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,18 +2,18 @@
namespace App\Http\Controllers\Api\V1\Draw;
use App\Http\Controllers\Controller;
use App\Lottery\ErrorCode;
use App\Models\Draw;
use App\Services\Draw\DrawResultViewService;
use App\Lottery\ErrorCode;
use App\Support\ApiResponse;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Http\JsonResponse;
use App\Http\Controllers\Controller;
use App\Services\Draw\DrawResultViewService;
/**
* `GET /api/v1/draw/results/{draw_no}` 单期详情(便于玩家端[< >]切换)。
*/
class DrawResultShowController extends Controller
final class DrawResultShowController extends Controller
{
public function __construct(
private readonly DrawResultViewService $viewer,