From 5d1da432c77883f935c508c7ace43e96e0a3803f Mon Sep 17 00:00:00 2001 From: wuyanwen Date: Tue, 17 Dec 2019 09:02:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catchAdmin/CatchAdminService.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/catchAdmin/CatchAdminService.php b/catchAdmin/CatchAdminService.php index 18044e6..9564a7b 100644 --- a/catchAdmin/CatchAdminService.php +++ b/catchAdmin/CatchAdminService.php @@ -8,6 +8,7 @@ use catchAdmin\system\event\LoginLogEvent; use catchAdmin\system\event\OperateLogEvent; use catchAdmin\user\Auth; use catcher\command\BackupCommand; +use catcher\command\CompressPackageCommand; use catcher\command\InstallCommand; use catcher\command\MigrateRunCommand; use catcher\command\ModelGeneratorCommand; @@ -32,7 +33,6 @@ class CatchAdminService extends Service $this->registerMiddleWares(); $this->registerEvents(); $this->registerListeners(); - $this->registerClassAlias(); } /** @@ -49,6 +49,7 @@ class CatchAdminService extends Service ModelGeneratorCommand::class, SeedRunCommand::class, BackupCommand::class, + CompressPackageCommand::class ]); } /** @@ -92,8 +93,6 @@ class CatchAdminService extends Service 'loginLog' => LoginLogEvent::class, 'operateLog' => OperateLogEvent::class, ]); - - } /** @@ -116,11 +115,4 @@ class CatchAdminService extends Service ] ]); } - - - public function registerClassAlias() - { - class_alias(Auth::class, 'Auth'); - } - } \ No newline at end of file