https://www.workerman.net/plugin/31 composer require webman/cors route.php // 给所有OPTIONS请求设置跨域 Route::options('[{path:.+}]', function (){ return response(''); });...