feat: module new feat

This commit is contained in:
JaguarJack
2023-01-10 17:46:05 +08:00
parent e5e1f8bc55
commit c2f68d349f
7 changed files with 682 additions and 10 deletions

View File

@@ -26,10 +26,11 @@ return new class () extends Migration {
$table->string('permission_mark', 100)->default('')->comment('权限标识,使用 @ 分割');
$table->string('component')->comment('组件');
$table->string('redirect')->nullable()->comment('跳转地址');
$table->tinyInteger('keepalive')->default('1')->comment('1 缓存 2 不缓存');
$table->tinyInteger('type')->default('1')->comment('1 目录 2 菜单 3 按钮');
$table->tinyInteger('hidden')->default('1')->comment('1 显示 2 隐藏');
$table->integer('sort')->default('1')->comment('排序');
$table->tinyInteger('keepalive')->default(1)->comment('1 缓存 2 不缓存');
$table->tinyInteger('type')->default(1)->comment('1 目录 2 菜单 3 按钮');
$table->tinyInteger('is_inner')->default(2)->comment('1 2 ');
$table->tinyInteger('hidden')->default(1)->comment('1 显示 2 隐藏');
$table->integer('sort')->default(1)->comment('排序');
$table->creatorId();
$table->createdAt();
$table->updatedAt();