修改服务

This commit is contained in:
wuyanwen 2020-01-09 08:22:25 +08:00
parent 4387bbb7f9
commit 4fa1c9638e

View File

@ -15,6 +15,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\event\AddCreatorId;
use catcher\event\LoadModuleRoutes; use catcher\event\LoadModuleRoutes;
use catcher\validates\Sometimes; use catcher\validates\Sometimes;
use think\facade\Validate; use think\facade\Validate;
@ -114,7 +115,7 @@ class CatchAdminService extends Service
], ],
'RouteLoaded' => [ 'RouteLoaded' => [
LoadModuleRoutes::class LoadModuleRoutes::class
] ],
]); ]);
} }
} }