|
@@ -17,7 +17,7 @@ class SystemMenusTableSeeder extends Seeder
|
|
// 目录
|
|
// 目录
|
|
DB::table('system_menus')->insert(['id' => 1, 'name' => '系统管理', 'type' => 1, 'path' => '/system', 'icon' => 'ep:tools', 'sort' => 99, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 1, 'name' => '系统管理', 'type' => 1, 'path' => '/system', 'icon' => 'ep:tools', 'sort' => 99, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 2, 'name' => '会员中心', 'type' => 1, 'path' => '/member', 'icon' => 'ep:bicycle', 'sort' => 10, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 2, 'name' => '会员中心', 'type' => 1, 'path' => '/member', 'icon' => 'ep:bicycle', 'sort' => 10, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
- DB::table('system_menus')->insert(['id' => 3, 'name' => '技工中心', 'type' => 1, 'path' => '/techer', 'icon' => 'fa:automobile', 'sort' => 11, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
|
|
|
|
+ DB::table('system_menus')->insert(['id' => 3, 'name' => '技工中心', 'type' => 1, 'path' => '/coach', 'icon' => 'fa:automobile', 'sort' => 11, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 4, 'name' => '服务中心', 'type' => 1, 'path' => '/service', 'icon' => 'fa:american-sign-language-interpreting', 'sort' => 12, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 4, 'name' => '服务中心', 'type' => 1, 'path' => '/service', 'icon' => 'fa:american-sign-language-interpreting', 'sort' => 12, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
|
|
|
|
// 菜单
|
|
// 菜单
|
|
@@ -32,11 +32,11 @@ class SystemMenusTableSeeder extends Seeder
|
|
DB::table('system_menus')->insert(['id' => 200, 'name' => '会员管理', 'type' => 2, 'parent_id' => 2, 'path' => 'user', 'icon' => 'ep:avatar', 'component' => 'member/user/index', 'component_name' => 'MemberUser', 'sort' => 0, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 200, 'name' => '会员管理', 'type' => 2, 'parent_id' => 2, 'path' => 'user', 'icon' => 'ep:avatar', 'component' => 'member/user/index', 'component_name' => 'MemberUser', 'sort' => 0, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 210, 'name' => '会员配置', 'type' => 2, 'parent_id' => 2, 'path' => 'config', 'icon' => 'fa:archive', 'component' => 'member/config/index', 'component_name' => 'MemberConfig', 'sort' => 10, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 210, 'name' => '会员配置', 'type' => 2, 'parent_id' => 2, 'path' => 'config', 'icon' => 'fa:archive', 'component' => 'member/config/index', 'component_name' => 'MemberConfig', 'sort' => 10, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
// 技工中心
|
|
// 技工中心
|
|
- DB::table('system_menus')->insert(['id' => 300, 'name' => '技工管理', 'type' => 2, 'parent_id' => 3, 'path' => 'user', 'icon' => 'ep:avatar', 'component' => 'member/user/index', 'component_name' => 'MemberUser', 'sort' => 0, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
|
|
|
|
+ DB::table('system_menus')->insert(['id' => 300, 'name' => '技工管理', 'type' => 2, 'parent_id' => 3, 'path' => 'user', 'icon' => 'ep:avatar', 'component' => 'coach/user/index', 'component_name' => 'CoachUser', 'sort' => 0, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 310, 'name' => '技工配置', 'type' => 2, 'parent_id' => 3, 'path' => 'config', 'icon' => 'ep:setting', 'component' => 'member/config/index', 'component_name' => 'MemberConfig', 'sort' => 10, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 310, 'name' => '技工配置', 'type' => 2, 'parent_id' => 3, 'path' => 'config', 'icon' => 'ep:setting', 'component' => 'member/config/index', 'component_name' => 'MemberConfig', 'sort' => 10, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
// 服务中心
|
|
// 服务中心
|
|
- DB::table('system_menus')->insert(['id' => 400, 'name' => '服务管理', 'type' => 2, 'parent_id' => 4, 'path' => 'config', 'icon' => 'ep:bell-filled', 'component' => 'member/config/index', 'component_name' => 'MemberConfig', 'sort' => 0, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
|
|
- DB::table('system_menus')->insert(['id' => 410, 'name' => '服务分类', 'type' => 2, 'parent_id' => 4, 'path' => 'config', 'icon' => 'ep:bell-filled', 'component' => 'member/config/index', 'component_name' => 'MemberConfig', 'sort' => 1, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
|
|
|
|
+ DB::table('system_menus')->insert(['id' => 400, 'name' => '服务管理', 'type' => 2, 'parent_id' => 4, 'path' => 'project', 'icon' => 'ep:bell-filled', 'component' => 'service/project/index', 'component_name' => 'ServiceProject', 'sort' => 0, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
|
|
+ DB::table('system_menus')->insert(['id' => 410, 'name' => '服务分类', 'type' => 2, 'parent_id' => 4, 'path' => 'category', 'icon' => 'ep:box', 'component' => 'service/category/index', 'component_name' => 'ServiceCategory', 'sort' => 1, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 420, 'name' => '服务审核', 'type' => 2, 'parent_id' => 4, 'path' => 'config', 'icon' => 'fa:500px', 'component' => 'member/config/index', 'component_name' => 'MemberConfig', 'sort' => 2, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 420, 'name' => '服务审核', 'type' => 2, 'parent_id' => 4, 'path' => 'config', 'icon' => 'fa:500px', 'component' => 'member/config/index', 'component_name' => 'MemberConfig', 'sort' => 2, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 490, 'name' => '服务配置', 'type' => 2, 'parent_id' => 4, 'path' => 'config', 'icon' => 'fa:archive', 'component' => 'member/config/index', 'component_name' => 'MemberConfig', 'sort' => 9, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
DB::table('system_menus')->insert(['id' => 490, 'name' => '服务配置', 'type' => 2, 'parent_id' => 4, 'path' => 'config', 'icon' => 'fa:archive', 'component' => 'member/config/index', 'component_name' => 'MemberConfig', 'sort' => 9, 'creator' => '系统', 'created_at' => now(), 'updated_at' => now()]);
|
|
|
|
|