修改服务

This commit is contained in:
yanwenwu 2020-01-24 08:40:04 +08:00
parent 5450edb490
commit e61b61a220

View File

@ -17,6 +17,7 @@ use catcher\command\MigrateRunCommand;
use catcher\command\ModelGeneratorCommand; use catcher\command\ModelGeneratorCommand;
use catcher\command\ModuleCacheCommand; use catcher\command\ModuleCacheCommand;
use catcher\command\SeedRunCommand; use catcher\command\SeedRunCommand;
use catcher\command\worker\WsWorkerCommand;
use catcher\event\LoadModuleRoutes; use catcher\event\LoadModuleRoutes;
use catcher\validates\Sometimes; use catcher\validates\Sometimes;
use think\facade\Validate; use think\facade\Validate;
@ -57,6 +58,7 @@ class CatchAdminService extends Service
CreateModuleCommand::class, CreateModuleCommand::class,
MigrateRollbackCommand::class, MigrateRollbackCommand::class,
MigrateCreateCommand::class, MigrateCreateCommand::class,
WsWorkerCommand::class,
]); ]);
} }
/** /**