切换中间件,防止串应用

This commit is contained in:
wuyanwen
2020-02-18 14:44:16 +08:00
parent fd1798875f
commit ebe5f5757a
3 changed files with 65 additions and 66 deletions

View File

@@ -99,9 +99,7 @@ class CatchAdminService extends Service
*/
protected function registerMiddleWares(): void
{
$this->app->middleware->import([
'catch_check_permission' => PermissionsMiddleware::class,
], 'route');
// todo
}
/**