新增模块管理

This commit is contained in:
JaguarJack
2020-09-12 17:22:43 +08:00
parent dc4855f5c1
commit ee624300b6
4 changed files with 74 additions and 6 deletions

View File

@@ -11,6 +11,8 @@
namespace catchAdmin\system;
use catchAdmin\system\events\AttachmentEvent;
use catcher\command\MigrateRunCommand;
use catcher\command\SeedRunCommand;
use catcher\ModuleService;
class SystemService extends ModuleService
@@ -28,4 +30,12 @@ class SystemService extends ModuleService
'attachment' => [ AttachmentEvent::class ],
];
}
protected function registerCommands()
{
$this->commands([
MigrateRunCommand::class,
SeedRunCommand::class,
]);
}
}