Explorar el Código

增加,修改原始数据

zhangenzhi hace 1 mes
padre
commit
fa7d1fad87
Se han modificado 1 ficheros con 18 adiciones y 2 borrados
  1. 18 2
      pavis-webapi/src/main/resources/db/changelog/mysql/main_data.sql

+ 18 - 2
pavis-webapi/src/main/resources/db/changelog/mysql/main_data.sql

@@ -136,6 +136,10 @@ INSERT INTO `sys_menu`(`id`, `title`, `parent_id`, `type`, `path`, `name`, `comp
 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_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 (725341748791914504, '模型管理', 720601489373986869, 2, '/agent/modal', 'AgentModal1', 'agent/modal/index', NULL, NULL, b'0', b'0', b'0', NULL, 999, 1, 1, '2025-06-17 13:29:09', 1, '2025-06-24 09:21:24');
+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 (726022776581828679, '智能体管理', 720601489373986869, 2, '/agent/agentConfig', 'AgentAgentConfig1', 'agent/agentConfig/index', NULL, NULL, b'0', b'0', b'0', NULL, 999, 1, 1, '2025-06-19 10:35:19', 1, '2025-06-24 09:21:33');
+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 (727830219385258239, '智能体详情', 720601489373986869, 2, '/agent/agentDetail:id', 'AgentAgentDetailId', 'agent/agentDetail/index', NULL, NULL, b'0', b'1', b'1', NULL, 999, 1, 1, '2025-06-24 10:17:27', 1, '2025-06-24 14:10:50');
+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 (728546342812565536, '工具管理', 720601489373986869, 2, '/agent/tools', 'AgentTools1', 'agent/tools/index', NULL, NULL, b'0', b'0', b'0', NULL, 999, 1, 1, '2025-06-26 09:43:04', NULL, NULL);
 
 
 -- 初始化默认部门
@@ -287,11 +291,23 @@ INSERT INTO `sys_role_dept` (`role_id`, `dept_id`) VALUES (547888897925840927, 5
 INSERT INTO `sys_storage`
 (`id`, `name`, `code`, `type`, `access_key`, `secret_key`, `endpoint`, `bucket_name`, `domain`, `description`, `is_default`, `sort`, `status`, `create_user`, `create_time`)
 VALUES
-(1, '开发环境', 'local_dev', 1, NULL, NULL, NULL, 'C:/pvs-admin/data/file/', 'http://localhost:8000/file/', '本地存储', b'1', 1, 1, 1, NOW()),
-(2, '生产环境', 'local_prod', 1, NULL, NULL, NULL, '../data/file/', 'http://192.168.1.202/file/', '本地存储', b'0', 2, 2, 1, NOW());
+(1, '开发环境', 'local_dev', 1, NULL, NULL, NULL, 'C:/pvs-admin/data/file/', 'http://localhost:5555/file/', '本地存储', b'1', 1, 1, 1, NOW()),
+(2, '生产环境', 'local_prod', 1, NULL, NULL, NULL, '/data/file/', 'http://192.168.1.202/file/', '本地存储', b'0', 2, 2, 1, NOW());
 
 -- 初始化客户端数据
 INSERT INTO `sys_client`
 (`id`, `client_id`, `client_type`, `auth_type`, `active_timeout`, `timeout`, `status`, `create_user`, `create_time`)
 VALUES
 (1, 'ef51c9a3e9046c4f2ea45142c8a8344a', 'PC', '["ACCOUNT", "EMAIL", "PHONE", "SOCIAL"]', 1800, 86400, 1, 1, NOW());
+
+
+INSERT INTO `aigc_model`(`id`, `type`, `model`, `version`, `provider`, `name`, `description`, `status`, `response_limit`, `max_tokens`, `temperature`, `top_p`, `azure_deployment_name`, `gemini_project`, `gemini_location`, `image_size`, `image_quality`, `image_style`, `timeout`, `retry_strategy`, `rate_limit`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (723177214056632323, 'CHAT', 'qwen-plus', NULL, 'Q_WEN', '阿里模型', NULL, 1, 2000, 4096, 0.3, 0.8, NULL, NULL, NULL, '1024x1024', 'standard', 'vivid', 30, 'linear', 1000, 1, '2025-06-11 14:08:04', 1, '2025-06-12 16:49:07');
+INSERT INTO `aigc_model`(`id`, `type`, `model`, `version`, `provider`, `name`, `description`, `status`, `response_limit`, `max_tokens`, `temperature`, `top_p`, `azure_deployment_name`, `gemini_project`, `gemini_location`, `image_size`, `image_quality`, `image_style`, `timeout`, `retry_strategy`, `rate_limit`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (723482042041405473, 'EMBEDDING', 'text-embedding-v3', NULL, 'Q_WEN', '阿里词嵌入模型', NULL, 1, 0, 4096, 0.2, 0, NULL, NULL, NULL, '1024x1024', 'standard', 'vivid', 30, 'linear', 1000, 1, '2025-06-12 10:19:20', 1, '2025-06-17 11:15:16');
+INSERT INTO `aigc_model`(`id`, `type`, `model`, `version`, `provider`, `name`, `description`, `status`, `response_limit`, `max_tokens`, `temperature`, `top_p`, `azure_deployment_name`, `gemini_project`, `gemini_location`, `image_size`, `image_quality`, `image_style`, `timeout`, `retry_strategy`, `rate_limit`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (725341942283546638, 'CHAT', 'deepseek-chat', NULL, 'DEEPSEEK', 'deepseek', NULL, 1, 8192, 4096, 0.2, 0.8, NULL, NULL, NULL, '1024x1024', 'standard', 'vivid', 30, 'linear', 1000, 1, '2025-06-17 13:29:55', NULL, NULL);
+INSERT INTO `aigc_model`(`id`, `type`, `model`, `version`, `provider`, `name`, `description`, `status`, `response_limit`, `max_tokens`, `temperature`, `top_p`, `azure_deployment_name`, `gemini_project`, `gemini_location`, `image_size`, `image_quality`, `image_style`, `timeout`, `retry_strategy`, `rate_limit`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (727939731588956211, 'EMBEDDING', 'text-embedding-3-large', NULL, 'OPENAI', 'tools', NULL, 1, 4096, 4096, 0.7, 1, NULL, NULL, NULL, '1024x1024', 'standard', 'vivid', 30, 'linear', 1000, 1, '2025-06-24 17:32:36', 1, '2025-06-25 09:33:45');
+INSERT INTO `aigc_model`(`id`, `type`, `model`, `version`, `provider`, `name`, `description`, `status`, `response_limit`, `max_tokens`, `temperature`, `top_p`, `azure_deployment_name`, `gemini_project`, `gemini_location`, `image_size`, `image_quality`, `image_style`, `timeout`, `retry_strategy`, `rate_limit`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (728305712945479826, 'CHAT', 'qwen-max', NULL, 'Q_WEN', '通义千问-max', NULL, 1, 2000, 4096, 0.2, 0.8, NULL, NULL, NULL, '1024x1024', 'standard', 'vivid', 30, 'linear', 1000, 1, '2025-06-25 17:46:53', 1, '2025-06-25 17:53:02');
+
+
+INSERT INTO `sys_client`(`id`, `client_id`, `client_type`, `auth_type`, `active_timeout`, `timeout`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (1, 'ef51c9a3e9046c4f2ea45142c8a8344a', 'PC', '[\"ACCOUNT\", \"EMAIL\", \"PHONE\", \"SOCIAL\"]', 1800, 86400, 1, 1, '2025-06-17 10:56:36', NULL, NULL);
+INSERT INTO `sys_client`(`id`, `client_id`, `client_type`, `auth_type`, `active_timeout`, `timeout`, `status`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (727480501455077713, '7a1958fafed3268a7515b083bd6f144f', 'XCX', '[\"PHONE\", \"ACCOUNT\", \"EMAIL\", \"SOCIAL\"]', -1, -1, 1, 1, '2025-06-23 11:07:47', 1, '2025-06-23 11:22:46');
+