menu.sql 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. use
  2. admin;
  3. /*
  4. Navicat Premium Data Transfer
  5. Source Server : 主机
  6. Source Server Type : MySQL
  7. Source Server Version : 50726
  8. Source Host : localhost:3306
  9. Source Schema : admin
  10. Target Server Type : MySQL
  11. Target Server Version : 50726
  12. File Encoding : 65001
  13. Date: 11/10/2021 16:58:59
  14. */
  15. SET NAMES utf8mb4;
  16. SET
  17. FOREIGN_KEY_CHECKS = 0;
  18. -- ----------------------------
  19. -- Table structure for sys_menu
  20. -- ----------------------------
  21. DROP TABLE IF EXISTS `sys_menu`;
  22. CREATE TABLE `sys_menu`
  23. (
  24. `menu_id` bigint(20) NOT NULL AUTO_INCREMENT,
  25. `parent_id` bigint(20) NULL DEFAULT NULL COMMENT '父菜单ID,一级菜单为0',
  26. `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单名称',
  27. `url` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单URL',
  28. `perms` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '授权(多个用逗号分隔,如:user:list,user:create)',
  29. `type` int(11) NULL DEFAULT NULL COMMENT '类型 0:目录 1:菜单 2:按钮',
  30. `icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单图标',
  31. `order_num` int(11) NULL DEFAULT NULL COMMENT '排序',
  32. PRIMARY KEY (`menu_id`) USING BTREE
  33. ) ENGINE = InnoDB AUTO_INCREMENT = 53 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '菜单管理' ROW_FORMAT = Dynamic;
  34. -- ----------------------------
  35. -- Records of sys_menu
  36. -- ----------------------------
  37. INSERT INTO `sys_menu`
  38. VALUES (1, 0, '系统管理', NULL, NULL, 0, 'system', 0);
  39. INSERT INTO `sys_menu`
  40. VALUES (2, 1, '管理员列表', 'sys/user', NULL, 1, 'admin', 1);
  41. INSERT INTO `sys_menu`
  42. VALUES (3, 1, '角色管理', 'sys/role', NULL, 0, 'role', 2);
  43. INSERT INTO `sys_menu`
  44. VALUES (4, 1, '菜单管理', 'sys/menu', NULL, 1, 'menu', 3);
  45. INSERT INTO `sys_menu`
  46. VALUES (5, 1, 'SQL监控', 'http://localhost:8080/renren-fast/druid/sql.html', NULL, 1, 'sql', 4);
  47. INSERT INTO `sys_menu`
  48. VALUES (6, 1, '定时任务', 'job/schedule', NULL, 1, 'job', 5);
  49. INSERT INTO `sys_menu`
  50. VALUES (7, 6, '查看', NULL, 'sys:schedule:list,sys:schedule:info', 2, NULL, 0);
  51. INSERT INTO `sys_menu`
  52. VALUES (8, 6, '新增', NULL, 'sys:schedule:save', 2, NULL, 0);
  53. INSERT INTO `sys_menu`
  54. VALUES (9, 6, '修改', NULL, 'sys:schedule:update', 2, NULL, 0);
  55. INSERT INTO `sys_menu`
  56. VALUES (10, 6, '删除', NULL, 'sys:schedule:delete', 2, NULL, 0);
  57. INSERT INTO `sys_menu`
  58. VALUES (11, 6, '暂停', NULL, 'sys:schedule:pause', 2, NULL, 0);
  59. INSERT INTO `sys_menu`
  60. VALUES (12, 6, '恢复', NULL, 'sys:schedule:resume', 2, NULL, 0);
  61. INSERT INTO `sys_menu`
  62. VALUES (13, 6, '立即执行', NULL, 'sys:schedule:run', 2, NULL, 0);
  63. INSERT INTO `sys_menu`
  64. VALUES (14, 6, '日志列表', NULL, 'sys:schedule:log', 2, NULL, 0);
  65. INSERT INTO `sys_menu`
  66. VALUES (15, 2, '查看', NULL, 'sys:user:list,sys:user:info', 2, NULL, 0);
  67. INSERT INTO `sys_menu`
  68. VALUES (16, 2, '新增', NULL, 'sys:user:save,sys:role:select', 2, NULL, 0);
  69. INSERT INTO `sys_menu`
  70. VALUES (17, 2, '修改', NULL, 'sys:user:update,sys:role:select', 2, NULL, 0);
  71. INSERT INTO `sys_menu`
  72. VALUES (18, 2, '删除', NULL, 'sys:user:delete', 2, NULL, 0);
  73. INSERT INTO `sys_menu`
  74. VALUES (19, 3, '查看', NULL, 'sys:role:list,sys:role:info', 2, NULL, 0);
  75. INSERT INTO `sys_menu`
  76. VALUES (20, 3, '新增', NULL, 'sys:role:save,sys:menu:list', 2, NULL, 0);
  77. INSERT INTO `sys_menu`
  78. VALUES (21, 3, '修改', NULL, 'sys:role:update,sys:menu:list', 2, NULL, 0);
  79. INSERT INTO `sys_menu`
  80. VALUES (22, 3, '删除', NULL, 'sys:role:delete', 2, NULL, 0);
  81. INSERT INTO `sys_menu`
  82. VALUES (23, 4, '查看', NULL, 'sys:menu:list,sys:menu:info', 2, NULL, 0);
  83. INSERT INTO `sys_menu`
  84. VALUES (24, 4, '新增', NULL, 'sys:menu:save,sys:menu:select', 2, NULL, 0);
  85. INSERT INTO `sys_menu`
  86. VALUES (25, 4, '修改', NULL, 'sys:menu:update,sys:menu:select', 2, NULL, 0);
  87. INSERT INTO `sys_menu`
  88. VALUES (26, 4, '删除', NULL, 'sys:menu:delete', 2, NULL, 0);
  89. INSERT INTO `sys_menu`
  90. VALUES (27, 1, '参数管理', 'sys/config',
  91. 'sys:config:list,sys:config:info,sys:config:save,sys:config:update,sys:config:delete', 1, 'config', 6);
  92. INSERT INTO `sys_menu`
  93. VALUES (29, 1, '系统日志', 'sys/log', 'sys:log:list', 1, 'log', 7);
  94. INSERT INTO `sys_menu`
  95. VALUES (30, 1, '文件上传', 'oss/oss', 'sys:oss:all', 1, 'oss', 6);
  96. INSERT INTO `sys_menu`
  97. VALUES (31, 1, '镜像管理', 'generator/images', NULL, 1, 'config', 6);
  98. INSERT INTO `sys_menu`
  99. VALUES (32, 31, '查看', NULL, 'generator:images:list,generator:images:info', 2, NULL, 6);
  100. INSERT INTO `sys_menu`
  101. VALUES (33, 31, '新增', NULL, 'generator:images:save', 2, NULL, 6);
  102. INSERT INTO `sys_menu`
  103. VALUES (34, 31, '修改', NULL, 'generator:images:update', 2, NULL, 6);
  104. INSERT INTO `sys_menu`
  105. VALUES (35, 31, '删除', NULL, 'generator:images:delete', 2, NULL, 6);
  106. INSERT INTO `sys_menu`
  107. VALUES (36, 1, '存储器管理', 'generator/volumes', NULL, 1, 'config', 6);
  108. INSERT INTO `sys_menu`
  109. VALUES (37, 36, '查看', NULL, 'generator:volumes:list,generator:volumes:info', 2, NULL, 6);
  110. INSERT INTO `sys_menu`
  111. VALUES (38, 36, '新增', NULL, 'generator:volumes:save', 2, NULL, 6);
  112. INSERT INTO `sys_menu`
  113. VALUES (39, 36, '修改', NULL, 'generator:volumes:update', 2, NULL, 6);
  114. INSERT INTO `sys_menu`
  115. VALUES (40, 36, '删除', NULL, 'generator:volumes:delete', 2, NULL, 6);
  116. INSERT INTO `sys_menu`
  117. VALUES (41, 1, '边缘节点管理', 'generator/edgenodes', NULL, 1, 'config', 6);
  118. INSERT INTO `sys_menu`
  119. VALUES (42, 41, '查看', NULL, 'generator:edgenodes:list,generator:edgenodes:info', 2, NULL, 6);
  120. INSERT INTO `sys_menu`
  121. VALUES (43, 41, '新增', NULL, 'generator:edgenodes:save', 2, NULL, 6);
  122. INSERT INTO `sys_menu`
  123. VALUES (44, 41, '修改', NULL, 'generator:edgenodes:update', 2, NULL, 6);
  124. INSERT INTO `sys_menu`
  125. VALUES (45, 41, '删除', NULL, 'generator:edgenodes:delete', 2, NULL, 6);
  126. INSERT INTO `sys_menu`
  127. VALUES (46, 1, '算法管理', 'generator/algorithm', '', 1, 'config', 6);
  128. INSERT INTO `sys_menu`
  129. VALUES (47, 46, '查看', NULL, 'generator:algorithm:list,generator:algorithm:info', 2, NULL, 6);
  130. INSERT INTO `sys_menu`
  131. VALUES (48, 46, '新增', NULL, 'generator:algorithm:save', 2, NULL, 6);
  132. INSERT INTO `sys_menu`
  133. VALUES (49, 46, '修改', NULL, 'generator:algorithm:update', 2, NULL, 6);
  134. INSERT INTO `sys_menu`
  135. VALUES (50, 46, '删除', NULL, 'generator:algorithm:delete', 2, NULL, 6);
  136. INSERT INTO `sys_menu`
  137. VALUES (51, 1, '应用管理', 'generator/applications', '', 1, 'tubiao', 8);
  138. INSERT INTO `sys_menu`
  139. VALUES (52, 0, '监控', 'monitor/index', '', 1, 'suanfa2', 7);
  140. SET
  141. FOREIGN_KEY_CHECKS = 1;