调整数据库表的单复数

This commit is contained in:
2026-02-19 10:39:38 +08:00
parent 736a41a718
commit d310a29c03
56 changed files with 45577 additions and 506 deletions
+31 -31
View File
@@ -161,8 +161,8 @@ private function createPermissions(): void
'name' => 'auth.users',
'type' => 'menu',
'parent_id' => 0, // 稍后更新为权限菜单的ID
'path' => '/auth/users',
'component' => 'auth/users/index',
'path' => '/auth/user',
'component' => 'auth/user/index',
'meta' => json_encode([
'icon' => 'UserOutlined',
'hidden' => false,
@@ -176,7 +176,7 @@ private function createPermissions(): void
'name' => 'auth.users.view',
'type' => 'button',
'parent_id' => 0, // 稍后更新为用户管理菜单的ID
'path' => 'admin.users.index',
'path' => 'admin.user.index',
'component' => null,
'meta' => null,
'sort' => 1,
@@ -187,7 +187,7 @@ private function createPermissions(): void
'name' => 'auth.users.create',
'type' => 'button',
'parent_id' => 0, // 稍后更新为用户管理菜单的ID
'path' => 'admin.users.store',
'path' => 'admin.user.store',
'component' => null,
'meta' => null,
'sort' => 2,
@@ -198,7 +198,7 @@ private function createPermissions(): void
'name' => 'auth.users.update',
'type' => 'button',
'parent_id' => 0, // 稍后更新为用户管理菜单的ID
'path' => 'admin.users.update',
'path' => 'admin.user.update',
'component' => null,
'meta' => null,
'sort' => 3,
@@ -209,7 +209,7 @@ private function createPermissions(): void
'name' => 'auth.users.delete',
'type' => 'button',
'parent_id' => 0, // 稍后更新为用户管理菜单的ID
'path' => 'admin.users.destroy',
'path' => 'admin.user.destroy',
'component' => null,
'meta' => null,
'sort' => 4,
@@ -220,7 +220,7 @@ private function createPermissions(): void
'name' => 'auth.users.batch-delete',
'type' => 'button',
'parent_id' => 0, // 稍后更新为用户管理菜单的ID
'path' => 'admin.users.batch-delete',
'path' => 'admin.user.batch-delete',
'component' => null,
'meta' => null,
'sort' => 5,
@@ -231,7 +231,7 @@ private function createPermissions(): void
'name' => 'auth.users.export',
'type' => 'button',
'parent_id' => 0, // 稍后更新为用户管理菜单的ID
'path' => 'admin.users.export',
'path' => 'admin.user.export',
'component' => null,
'meta' => null,
'sort' => 6,
@@ -242,7 +242,7 @@ private function createPermissions(): void
'name' => 'auth.users.import',
'type' => 'button',
'parent_id' => 0, // 稍后更新为用户管理菜单的ID
'path' => 'admin.users.import',
'path' => 'admin.user.import',
'component' => null,
'meta' => null,
'sort' => 7,
@@ -254,8 +254,8 @@ private function createPermissions(): void
'name' => 'auth.roles',
'type' => 'menu',
'parent_id' => 0, // 稍后更新为权限菜单的ID
'path' => '/auth/roles',
'component' => 'auth/roles/index',
'path' => '/auth/role',
'component' => 'auth/role/index',
'meta' => json_encode([
'icon' => 'UserFilled',
'hidden' => false,
@@ -269,7 +269,7 @@ private function createPermissions(): void
'name' => 'auth.roles.view',
'type' => 'button',
'parent_id' => 0, // 稍后更新为角色管理菜单的ID
'path' => 'admin.roles.index',
'path' => 'admin.role.index',
'component' => null,
'meta' => null,
'sort' => 1,
@@ -280,7 +280,7 @@ private function createPermissions(): void
'name' => 'auth.roles.create',
'type' => 'button',
'parent_id' => 0, // 稍后更新为角色管理菜单的ID
'path' => 'admin.roles.store',
'path' => 'admin.role.store',
'component' => null,
'meta' => null,
'sort' => 2,
@@ -291,7 +291,7 @@ private function createPermissions(): void
'name' => 'auth.roles.update',
'type' => 'button',
'parent_id' => 0, // 稍后更新为角色管理菜单的ID
'path' => 'admin.roles.update',
'path' => 'admin.role.update',
'component' => null,
'meta' => null,
'sort' => 3,
@@ -302,7 +302,7 @@ private function createPermissions(): void
'name' => 'auth.roles.delete',
'type' => 'button',
'parent_id' => 0, // 稍后更新为角色管理菜单的ID
'path' => 'admin.roles.destroy',
'path' => 'admin.role.destroy',
'component' => null,
'meta' => null,
'sort' => 4,
@@ -313,7 +313,7 @@ private function createPermissions(): void
'name' => 'auth.roles.batch-delete',
'type' => 'button',
'parent_id' => 0, // 稍后更新为角色管理菜单的ID
'path' => 'admin.roles.batch-delete',
'path' => 'admin.role.batch-delete',
'component' => null,
'meta' => null,
'sort' => 5,
@@ -324,7 +324,7 @@ private function createPermissions(): void
'name' => 'auth.roles.assign-permissions',
'type' => 'button',
'parent_id' => 0, // 稍后更新为角色管理菜单的ID
'path' => 'admin.roles.assign-permissions',
'path' => 'admin.role.assign-permissions',
'component' => null,
'meta' => null,
'sort' => 6,
@@ -336,8 +336,8 @@ private function createPermissions(): void
'name' => 'auth.permissions',
'type' => 'menu',
'parent_id' => 0, // 稍后更新为权限菜单的ID
'path' => '/auth/permissions',
'component' => 'auth/permissions/index',
'path' => '/auth/permission',
'component' => 'auth/permission/index',
'meta' => json_encode([
'icon' => 'Lock',
'hidden' => false,
@@ -351,7 +351,7 @@ private function createPermissions(): void
'name' => 'auth.permissions.view',
'type' => 'button',
'parent_id' => 0, // 稍后更新为权限管理菜单的ID
'path' => 'admin.permissions.index',
'path' => 'admin.permission.index',
'component' => null,
'meta' => null,
'sort' => 1,
@@ -362,7 +362,7 @@ private function createPermissions(): void
'name' => 'auth.permissions.create',
'type' => 'button',
'parent_id' => 0, // 稍后更新为权限管理菜单的ID
'path' => 'admin.permissions.store',
'path' => 'admin.permission.store',
'component' => null,
'meta' => null,
'sort' => 2,
@@ -373,7 +373,7 @@ private function createPermissions(): void
'name' => 'auth.permissions.update',
'type' => 'button',
'parent_id' => 0, // 稍后更新为权限管理菜单的ID
'path' => 'admin.permissions.update',
'path' => 'admin.permission.update',
'component' => null,
'meta' => null,
'sort' => 3,
@@ -384,7 +384,7 @@ private function createPermissions(): void
'name' => 'auth.permissions.delete',
'type' => 'button',
'parent_id' => 0, // 稍后更新为权限管理菜单的ID
'path' => 'admin.permissions.destroy',
'path' => 'admin.permission.destroy',
'component' => null,
'meta' => null,
'sort' => 4,
@@ -395,7 +395,7 @@ private function createPermissions(): void
'name' => 'auth.permissions.batch-delete',
'type' => 'button',
'parent_id' => 0, // 稍后更新为权限管理菜单的ID
'path' => 'admin.permissions.batch-delete',
'path' => 'admin.permission.batch-delete',
'component' => null,
'meta' => null,
'sort' => 5,
@@ -407,8 +407,8 @@ private function createPermissions(): void
'name' => 'auth.departments',
'type' => 'menu',
'parent_id' => 0, // 稍后更新为权限菜单的ID
'path' => '/auth/departments',
'component' => 'auth/departments/index',
'path' => '/auth/department',
'component' => 'auth/department/index',
'meta' => json_encode([
'icon' => 'OfficeBuilding',
'hidden' => false,
@@ -422,7 +422,7 @@ private function createPermissions(): void
'name' => 'auth.departments.view',
'type' => 'button',
'parent_id' => 0, // 稍后更新为部门管理菜单的ID
'path' => 'admin.departments.index',
'path' => 'admin.department.index',
'component' => null,
'meta' => null,
'sort' => 1,
@@ -433,7 +433,7 @@ private function createPermissions(): void
'name' => 'auth.departments.create',
'type' => 'button',
'parent_id' => 0, // 稍后更新为部门管理菜单的ID
'path' => 'admin.departments.store',
'path' => 'admin.department.store',
'component' => null,
'meta' => null,
'sort' => 2,
@@ -444,7 +444,7 @@ private function createPermissions(): void
'name' => 'auth.departments.update',
'type' => 'button',
'parent_id' => 0, // 稍后更新为部门管理菜单的ID
'path' => 'admin.departments.update',
'path' => 'admin.department.update',
'component' => null,
'meta' => null,
'sort' => 3,
@@ -455,7 +455,7 @@ private function createPermissions(): void
'name' => 'auth.departments.delete',
'type' => 'button',
'parent_id' => 0, // 稍后更新为部门管理菜单的ID
'path' => 'admin.departments.destroy',
'path' => 'admin.department.destroy',
'component' => null,
'meta' => null,
'sort' => 4,
@@ -466,7 +466,7 @@ private function createPermissions(): void
'name' => 'auth.departments.batch-delete',
'type' => 'button',
'parent_id' => 0, // 稍后更新为部门管理菜单的ID
'path' => 'admin.departments.batch-delete',
'path' => 'admin.department.batch-delete',
'component' => null,
'meta' => null,
'sort' => 5,