feat: 新增菜单列表/分页/详情/新增/更新/导入/导出/删除接口

This commit is contained in:
2025-02-28 18:13:40 +08:00
parent f34ca8626b
commit 4568d59508
8 changed files with 714 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ class CreateSysMenu extends Migrator
->addColumn('status', 'boolean', ['null' => false, 'default' => 1, 'comment' => '-1为禁用, 1为启用'])
->addColumn('created_at', 'timestamp', ['null' => false, 'default' => 'CURRENT_TIMESTAMP', 'comment' => '创建时间'])
->addColumn('updated_at', 'timestamp', ['null' => false, 'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP', 'comment' => '更新时间'])
->addColumn('deleted_at', 'timestamp', ['null' => true, 'comment' => '删除时间'])
->addIndex(['unique_name'], ['unique' => true])
->create();
}
}