official_website/app/api/route/Project.php

7 lines
264 B
PHP

<?php
use think\facade\Route;
Route::group('project', function () {
Route::rule('versionDownload', 'Project/versionDownload');
})->allowCrossDomain(['Access-Control-Allow-Credentials' => 'true'])->middleware(\app\api\middleware\FrequentAccessCheck::class);