修改权限管理

This commit is contained in:
wuyanwen
2019-12-26 09:03:09 +08:00
parent 4a3f043166
commit 1dcce85c3a
8 changed files with 46 additions and 124 deletions

View File

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