nk-lihaink-cn/app/api/middleware.php
liuxiaoquan f8c71c69d1 1.0
2023-02-28 15:44:15 +08:00

9 lines
260 B
PHP

<?php
// 这是系统自动生成的middleware定义文件
return [
//开启session中间件
//'think\middleware\SessionInit',
//验证勾股cms是否完成安装
\app\home\middleware\Install::class,
\app\api\middleware\AllowOriginMiddleware::class,
];