@@ -22,22 +22,29 @@ INSERT INTO sys_role (id, code, name, description)
2222-- ----------------------------
2323-- 插入菜单
2424-- ----------------------------
25- INSERT INTO sys_menu(id, parent_id, route_name, route_path, menu_name, leaf_flag, order_num, enable_flag)
26- VALUE (1 , null , ' Dashboard' , ' /dashboard' , ' 首页' , 1 , 0 , 1 );
25+ INSERT INTO sys_menu(id, parent_id, route_name, route_path, component_path, menu_name, leaf_flag, order_num,
26+ enable_flag)
27+ VALUE (1 , null , ' Home' , ' /home' , ' /Home' , ' 首页' , 1 , 0 , 1 );
2728
28- INSERT INTO sys_menu(id, parent_id, route_name, route_path, menu_name, leaf_flag, order_num, enable_flag)
29- VALUE (2 , null , ' SystemManagement' , ' /system_management' , ' 系统管理' , 0 , 1 , 1 );
30- INSERT INTO sys_menu(id, parent_id, route_name, route_path, menu_name, leaf_flag, order_num, enable_flag)
31- VALUE (3 , 2 , ' UserManagement' , ' /system_management/user' , ' 用户管理' , 1 , 101 , 1 );
32- INSERT INTO sys_menu(id, parent_id, route_name, route_path, menu_name, leaf_flag, order_num, enable_flag)
33- VALUE (4 , 2 , ' RoleManagement' , ' role' , ' 角色管理' , 1 , 102 , 1 );
34- INSERT INTO sys_menu(id, parent_id, route_name, route_path, menu_name, leaf_flag, order_num, enable_flag)
35- VALUE (5 , 2 , ' MenuManagement' , ' menu' , ' 菜单管理' , 1 , 103 , 1 );
36- INSERT INTO sys_menu(id, parent_id, route_name, route_path, menu_name, leaf_flag, order_num, enable_flag)
37- VALUE (6 , 2 , ' ApiManagement' , ' api' , ' API管理' , 1 , 104 , 1 );
29+ INSERT INTO sys_menu(id, parent_id, route_name, route_path, component_path, menu_name, leaf_flag, order_num,
30+ enable_flag)
31+ VALUE (2 , null , ' SystemManagement' , ' /system_management' , null , ' 系统管理' , 0 , 1 , 1 );
32+ INSERT INTO sys_menu(id, parent_id, route_name, route_path, component_path, menu_name, leaf_flag, order_num,
33+ enable_flag)
34+ VALUE (3 , 2 , ' UserManagement' , ' /system_management/user' , ' /SystemManagement/User' , ' 用户管理' , 1 , 101 , 1 );
35+ INSERT INTO sys_menu(id, parent_id, route_name, route_path, component_path, menu_name, leaf_flag, order_num,
36+ enable_flag)
37+ VALUE (4 , 2 , ' RoleManagement' , ' /system_management/role' , ' /SystemManagement/Role' , ' 角色管理' , 1 , 102 , 1 );
38+ INSERT INTO sys_menu(id, parent_id, route_name, route_path, component_path, menu_name, leaf_flag, order_num,
39+ enable_flag)
40+ VALUE (5 , 2 , ' MenuManagement' , ' /system_management/menu' , ' /SystemManagement/Menu' , ' 菜单管理' , 1 , 103 , 1 );
41+ INSERT INTO sys_menu(id, parent_id, route_name, route_path, component_path, menu_name, leaf_flag, order_num,
42+ enable_flag)
43+ VALUE (6 , 2 , ' ApiManagement' , ' /system_management/api' , ' /SystemManagement/Api' , ' API管理' , 1 , 104 , 1 );
3844
39- INSERT INTO sys_menu(id, parent_id, route_name, route_path, menu_name, leaf_flag, order_num, enable_flag)
40- VALUE (7 , null , ' GithubUrl' , ' https://github.com/cadecode/uni-boot-admin' , ' 源码仓库' , 1 , 2 , 1 );
45+ INSERT INTO sys_menu(id, parent_id, route_name, route_path, component_path, menu_name, leaf_flag, order_num,
46+ enable_flag)
47+ VALUE (7 , null , ' GithubUrl' , ' https://github.com/cadecode/uni-boot-admin' , null , ' 源码仓库' , 1 , 2 , 1 );
4148-- ----------------------------
4249-- 插入 API
4350-- ----------------------------
0 commit comments