| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 | -- 菜单 SQLINSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status, component_name)VALUES (    '积分设置管理', '', 2, 0, 2162,    'config', '', 'point/config/index', 0, 'PointConfig');-- 按钮父菜单ID-- 暂时只支持 MySQL。如果你是 Oracle、PostgreSQL、SQLServer 的话,需要手动修改 @parentId 的部分的代码SELECT @parentId := LAST_INSERT_ID();-- 按钮 SQLINSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '积分设置查询', 'point:config:query', 3, 1, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '积分设置创建', 'point:config:create', 3, 2, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '积分设置更新', 'point:config:update', 3, 3, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '积分设置删除', 'point:config:delete', 3, 4, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '积分设置导出', 'point:config:export', 3, 5, @parentId,    '', '', '', 0);-- 菜单 SQLINSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status, component_name)VALUES (    '积分签到规则管理', '', 2, 0, 2162,    'sign-in-config', '', 'point/signInConfig/index', 0, 'SignInConfig');-- 按钮父菜单ID-- 暂时只支持 MySQL。如果你是 Oracle、PostgreSQL、SQLServer 的话,需要手动修改 @parentId 的部分的代码SELECT @parentId := LAST_INSERT_ID();-- 按钮 SQLINSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '积分签到规则查询', 'point:sign-in-config:query', 3, 1, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '积分签到规则创建', 'point:sign-in-config:create', 3, 2, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '积分签到规则更新', 'point:sign-in-config:update', 3, 3, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '积分签到规则删除', 'point:sign-in-config:delete', 3, 4, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '积分签到规则导出', 'point:sign-in-config:export', 3, 5, @parentId,    '', '', '', 0);-- 菜单 SQLINSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status, component_name)VALUES (    '用户积分记录管理', '', 2, 0, 2162,    'record', '', 'point/record/index', 0, 'PointRecord');-- 按钮父菜单ID-- 暂时只支持 MySQL。如果你是 Oracle、PostgreSQL、SQLServer 的话,需要手动修改 @parentId 的部分的代码SELECT @parentId := LAST_INSERT_ID();-- 按钮 SQLINSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '用户积分记录查询', 'point:record:query', 3, 1, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '用户积分记录创建', 'point:record:create', 3, 2, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '用户积分记录更新', 'point:record:update', 3, 3, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '用户积分记录删除', 'point:record:delete', 3, 4, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '用户积分记录导出', 'point:record:export', 3, 5, @parentId,    '', '', '', 0);-- 菜单 SQLINSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status, component_name)VALUES (    '用户签到积分管理', '', 2, 0, 2162,    'sign-in-record', '', 'point/signInRecord/index', 0, 'SignInRecord');-- 按钮父菜单ID-- 暂时只支持 MySQL。如果你是 Oracle、PostgreSQL、SQLServer 的话,需要手动修改 @parentId 的部分的代码SELECT @parentId := LAST_INSERT_ID();-- 按钮 SQLINSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '用户签到积分查询', 'point:sign-in-record:query', 3, 1, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '用户签到积分创建', 'point:sign-in-record:create', 3, 2, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '用户签到积分更新', 'point:sign-in-record:update', 3, 3, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '用户签到积分删除', 'point:sign-in-record:delete', 3, 4, @parentId,    '', '', '', 0);INSERT INTO system_menu(    name, permission, type, sort, parent_id,    path, icon, component, status)VALUES (    '用户签到积分导出', 'point:sign-in-record:export', 3, 5, @parentId,    '', '', '', 0);
 |