细节调整

Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
vilson 2019-07-13 10:37:29 +08:00
parent 216839c84d
commit 32e9dd1392
2 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,8 @@
<?php
use app\common\middleware\CORS;
return [
// 跨域处理
\app\common\middleware\CORS::class,
CORS::class,
];

View File

@ -1,6 +1,10 @@
<?php
use app\project\middleware\Auth;
use app\project\middleware\ProjectAuth;
return [
// 系统权限访问管理
\app\project\middleware\Auth::class,
\app\project\middleware\ProjectAuth::class,
Auth::class,
ProjectAuth::class,
];