diff a/config/middleware.php b/config/middleware.php (rejected hunks) @@ -12,9 +12,4 @@ * @license http://www.opensource.org/licenses/mit-license.php MIT License */ -return [ - // 全局中间件 - '' => [ - app\middleware\CrossDomain::class, // 全局跨域中间件 - ] -]; \ No newline at end of file +return []; \ No newline at end of file