细节调整
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
216839c84d
commit
32e9dd1392
@ -1,5 +1,8 @@
|
||||
<?php
|
||||
|
||||
use app\common\middleware\CORS;
|
||||
|
||||
return [
|
||||
// 跨域处理
|
||||
\app\common\middleware\CORS::class,
|
||||
CORS::class,
|
||||
];
|
||||
|
@ -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,
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user