vaeThink2/app/admin/middleware.php

11 lines
220 B
PHP
Raw Permalink Normal View History

2020-04-01 09:59:41 +08:00
<?php
return [
//开启session中间件
'think\middleware\SessionInit',
//验证vaeThink是否完成安装
\app\admin\middleware\Install::class,
//验证管理员操作权限
\app\admin\middleware\Auth::class,
];