fixed bugs

This commit is contained in:
yanwenwu
2020-01-25 20:03:18 +08:00
parent 3001ba26b1
commit 6b0eb5f849
2 changed files with 6 additions and 4 deletions

View File

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