若依框架前端菜单生成,权限标识,路由地址
-- 按钮父菜单ID
SELECT @parentId := 1067;
-- 按钮 SQL
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('商品三级分类查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'pms:category:query', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('商品三级分类新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'pms:category:add', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('商品三级分类修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'pms:category:edit', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('商品三级分类删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'pms:category:remove', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('商品三级分类导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'pms:category:export', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');