<?php

// 应用入口文件
declare(strict_types=1);

use think\App;

require_once __DIR__ . '/../vendor/autoload.php';

$app = new App();

$http = $app->http->name('api');
$response = $http->run();
try {
    $response->send();
} finally {
    $http->end($response);
}
