新增zip&composer工具

This commit is contained in:
JaguarJack
2020-07-21 08:01:20 +08:00
parent 30f405f233
commit f0351246fc
4 changed files with 118 additions and 4 deletions

View File

@@ -55,8 +55,8 @@ abstract class ModuleService extends Service
if (method_exists($this,'loadCommands') && $this->app->runningInConsole()) {
list($namespace, $path) = $this->loadCommands();
if ($this->app->has('catch_console')) {
$catchConsole = $this->app['catch_console'];
if ($this->app->has('catch\console')) {
$catchConsole = $this->app['catch\console'];
$this->commands($catchConsole->setNamespace($namespace)
->path($path)