Sin descripción

Zory b4f548371d 0024-1 hace 11 meses
app b4f548371d 0024-1 hace 11 meses
config 2f0a99f47d 2333 hace 11 meses
public 01fa987a87 '1854' hace 11 meses
resource 427401c3b2 0252 hace 11 meses
support 01fa987a87 '1854' hace 11 meses
.gitignore 01fa987a87 '1854' hace 11 meses
LICENSE 01fa987a87 '1854' hace 11 meses
README.md 83ae9a70c4 2324 hace 11 meses
composer.json 01fa987a87 '1854' hace 11 meses
start.php 01fa987a87 '1854' hace 11 meses
webman 9148a46273 0306 hace 11 meses
windows.bat 01fa987a87 '1854' hace 11 meses
windows.php 01fa987a87 '1854' hace 11 meses

README.md

hx-mini-api

跨域

文件
config/plugin/linfly/annotation/route.php
新增内容
use Webman\Route;
// 匹配所有options路由
Route::options('[{path:.+}]', function (){
    return response('',204);
});