优化Catchadmin服务

This commit is contained in:
JaguarJack 2020-06-24 10:07:53 +08:00
parent 5f5260a639
commit d2bc7a25c0

View File

@ -1,6 +1,8 @@
<?php <?php
namespace catcher; namespace catcher;
use catcher\command\install\DisableModuleCommand;
use catcher\command\install\EnableModuleCommand;
use catcher\command\install\ModuleServiceDiscoverCommand; use catcher\command\install\ModuleServiceDiscoverCommand;
use catcher\command\publish\WechatCommand; use catcher\command\publish\WechatCommand;
use catcher\command\Tools\BackupCommand; use catcher\command\Tools\BackupCommand;
@ -78,6 +80,8 @@ class CatchAdminService extends Service
WechatCommand::class, WechatCommand::class,
CacheTrieCommand::class, CacheTrieCommand::class,
ModuleServiceDiscoverCommand::class, ModuleServiceDiscoverCommand::class,
DisableModuleCommand::class,
EnableModuleCommand::class,
]); ]);
} }
/** /**