<?php

declare(strict_types=1);

use Illuminate\Support\Facades\Route;
use Kylin\Report\Http\Controllers\ReportController;

/**
 * 版号申报材料 API 路由
 *
 * 所有路由需通过 auth:sanctum 鉴权，并需 report.* 权限。
 */
Route::prefix('kylin/report')
    ->middleware(['auth:sanctum'])
    ->group(function () {
        Route::post('/system-manual', [ReportController::class, 'systemManual']);
        Route::post('/test-report', [ReportController::class, 'testReport']);
        Route::get('/test-accounts', [ReportController::class, 'testAccounts']);
    });
