Selaa lähdekoodia

添加sys_menu原始数据

zhangenzhi 2 kuukautta sitten
vanhempi
commit
2dbfb78fc8
1 muutettua tiedostoa jossa 12 lisäystä ja 0 poistoa
  1. 12 0
      pavis-webapi/src/main/resources/db/changelog/mysql/main_data.sql

+ 12 - 0
pavis-webapi/src/main/resources/db/changelog/mysql/main_data.sql

@@ -126,6 +126,18 @@ VALUES
 (2052, '删除', 2050, 3, NULL, NULL, NULL, NULL, NULL, b'0', b'0', b'0', 'system:smsLog:delete', 2, 1, 1, NOW()),
 (2053, '导出', 2050, 3, NULL, NULL, NULL, NULL, NULL, b'0', b'0', b'0', 'system:smsLog:export', 3, 1, 1, NOW());
 
+INSERT INTO `sys_menu`(`id`, `title`, `parent_id`, `type`, `path`, `name`, `component`, `redirect`, `icon`, `is_external`, `is_cache`, `is_hidden`, `permission`, `sort`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (699632184289402939, '插件配置', 699628279576928257, 2, '/agent/setting', 'AgentSetting', 'agent/setting/index', NULL, 'settings', b'0', b'0', b'0', NULL, 999, 1, 1, '2025-04-07 14:48:31', 1, '2025-04-07 17:32:08');
+INSERT INTO `sys_menu`(`id`, `title`, `parent_id`, `type`, `path`, `name`, `component`, `redirect`, `icon`, `is_external`, `is_cache`, `is_hidden`, `permission`, `sort`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (699633026153324615, '模型管理', 699628279576928257, 2, '/agent/modal', 'AgentModal', 'agent/modal/index', NULL, 'common', b'0', b'0', b'0', NULL, 999, 1, 1, '2025-04-07 14:51:52', 1, '2025-06-12 09:27:53');
+INSERT INTO `sys_menu`(`id`, `title`, `parent_id`, `type`, `path`, `name`, `component`, `redirect`, `icon`, `is_external`, `is_cache`, `is_hidden`, `permission`, `sort`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (720601489373986869, '知识平台', 0, 1, '/knowledge', 'Knowledge', 'Layout', '/embedStore', 'bookmark', b'0', b'0', b'0', NULL, 998, 1, 1, '2025-06-04 11:33:03', 1, '2025-06-11 11:28:37');
+INSERT INTO `sys_menu`(`id`, `title`, `parent_id`, `type`, `path`, `name`, `component`, `redirect`, `icon`, `is_external`, `is_cache`, `is_hidden`, `permission`, `sort`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (720601846833545272, '知识管理', 720601489373986869, 2, '/knowledge/list', 'KnowledgeList', 'knowledgeBase/libraryList/index', NULL, 'unordered-list', b'0', b'0', b'0', NULL, 998, 1, 1, '2025-06-04 11:34:28', 1, '2025-06-05 10:48:56');
+INSERT INTO `sys_menu`(`id`, `title`, `parent_id`, `type`, `path`, `name`, `component`, `redirect`, `icon`, `is_external`, `is_cache`, `is_hidden`, `permission`, `sort`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (720602228519403579, '知识库数据', 720601489373986869, 2, '/knowledge/subset/:id', 'KnowledgeSubsetId', 'knowledgeBase/librarySubset/index', NULL, 'strikethrough', b'0', b'1', b'1', NULL, 999, 1, 1, '2025-06-04 11:35:59', NULL, NULL);
+INSERT INTO `sys_menu`(`id`, `title`, `parent_id`, `type`, `path`, `name`, `component`, `redirect`, `icon`, `is_external`, `is_cache`, `is_hidden`, `permission`, `sort`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (720952593630691523, '向量库管理', 720601489373986869, 2, '/embedStore', 'EmbedStore', 'embedStore/index', NULL, 'storage', b'0', b'0', b'0', NULL, 1, 1, 1, '2025-06-05 10:48:13', NULL, NULL);
+INSERT INTO `sys_menu`(`id`, `title`, `parent_id`, `type`, `path`, `name`, `component`, `redirect`, `icon`, `is_external`, `is_cache`, `is_hidden`, `permission`, `sort`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (723136976387063839, 'AI应用', 0, 1, '/applay', 'Applay', 'Layout', '/chat', 'archive', b'0', b'0', b'0', NULL, 997, 1, 1, '2025-06-11 11:28:10', 1, '2025-06-11 11:28:47');
+INSERT INTO `sys_menu`(`id`, `title`, `parent_id`, `type`, `path`, `name`, `component`, `redirect`, `icon`, `is_external`, `is_cache`, `is_hidden`, `permission`, `sort`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (723137424502308906, 'AI聊天助手', 723136976387063839, 2, '/chat', 'Chat', 'aiApply/chatAssistant/index', NULL, 'bookmark', b'0', b'0', b'0', NULL, 1, 1, 1, '2025-06-11 11:29:57', NULL, NULL);
+INSERT INTO `sys_menu`(`id`, `title`, `parent_id`, `type`, `path`, `name`, `component`, `redirect`, `icon`, `is_external`, `is_cache`, `is_hidden`, `permission`, `sort`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (723487250461003899, '智能体配置', 699628279576928257, 2, '/agent/agentConfig', 'AgentAgentConfig', 'agent/agentConfig/index', NULL, NULL, b'0', b'0', b'0', NULL, 999, 1, 1, '2025-06-12 10:40:02', NULL, NULL);
+INSERT INTO `sys_menu`(`id`, `title`, `parent_id`, `type`, `path`, `name`, `component`, `redirect`, `icon`, `is_external`, `is_cache`, `is_hidden`, `permission`, `sort`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (723537469391278142, '工具', 699628279576928257, 2, '/agent/tools', 'AgentTools', 'agent/tools/index', NULL, NULL, b'0', b'0', b'0', NULL, 999, 1, 1, '2025-06-12 13:59:35', NULL, NULL);
+
+
 -- 初始化默认部门
 INSERT INTO `sys_dept`
 (`id`, `name`, `parent_id`, `ancestors`, `description`, `sort`, `status`, `is_system`, `create_user`, `create_time`)