新增添加菜单命令

This commit is contained in:
JaguarJack
2020-05-08 20:56:21 +08:00
parent d68891035b
commit 9b2c4aa905
2 changed files with 168 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ use catcher\command\ModelGeneratorCommand;
use catcher\command\ModuleCacheCommand;
use catcher\command\SeedRunCommand;
use catcher\command\Tools\ExportDataCommand;
use catcher\command\Tools\MakeMenuCommand;
use catcher\command\worker\WsWorkerCommand;
use think\exception\Handle;
use think\facade\Validate;
@@ -65,7 +66,8 @@ class CatchAdminService extends Service
MigrateRollbackCommand::class,
MigrateCreateCommand::class,
WsWorkerCommand::class,
ExportDataCommand::class
ExportDataCommand::class,
MakeMenuCommand::class,
]);
}
/**