|
@@ -204,9 +204,9 @@ VALUES
|
|
|
INSERT INTO `sys_option`
|
|
|
(`id`, `category`, `name`, `code`, `value`, `default_value`, `description`)
|
|
|
VALUES
|
|
|
-(1, 'SITE', '系统名称', 'SITE_TITLE', NULL, 'Pvs Admin', '显示在浏览器标题栏和登录界面的系统名称'),
|
|
|
+(1, 'SITE', '系统名称', 'SITE_TITLE', NULL, 's-privacy Admin', '显示在浏览器标题栏和登录界面的系统名称'),
|
|
|
(2, 'SITE', '系统描述', 'SITE_DESCRIPTION', NULL, '持续迭代优化的前后端分离中后台管理系统框架', '用于 SEO 的网站元描述'),
|
|
|
-(3, 'SITE', '版权声明', 'SITE_COPYRIGHT', NULL, 'Copyright © 2025 - present Pvs Admin 版权所有', '显示在页面底部的版权声明文本'),
|
|
|
+(3, 'SITE', '版权声明', 'SITE_COPYRIGHT', NULL, 'Copyright © 2025 - present s-privacy Admin 版权所有', '显示在页面底部的版权声明文本'),
|
|
|
(4, 'SITE', '备案号', 'SITE_BEIAN', NULL, NULL, '工信部 ICP 备案编号(如:京ICP备12345678号)'),
|
|
|
(5, 'SITE', '系统图标', 'SITE_FAVICON', NULL, '/favicon.ico', '浏览器标签页显示的网站图标(建议 .ico 格式)'),
|
|
|
(6, 'SITE', '系统LOGO', 'SITE_LOGO', NULL, '/logo.svg', '显示在登录页面和系统导航栏的网站图标(建议 .svg 格式)'),
|
|
@@ -292,7 +292,7 @@ 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: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());
|
|
|
+(2, '生产环境', 'local_prod', 1, NULL, NULL, NULL, '/data/file/', 'http://192.168.1.202:13089/file/', '本地存储', b'0', 2, 2, 1, NOW());
|
|
|
|
|
|
-- 初始化客户端数据
|
|
|
INSERT INTO `sys_client`
|
|
@@ -301,14 +301,14 @@ 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 `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, NOW(), 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 (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, NOW(), 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 (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, NOW(), 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, NOW(), 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 (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, NOW(), 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');
|
|
|
+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,NOW(), null, null);
|
|
|
|
|
|
INSERT INTO aigc_agent (id, name, code, agent_type, description, system_prompt, next_step_prompt, model_id, icon,
|
|
|
config, max_steps, timeout, runtime_status, status, version, create_user, create_time,
|
|
@@ -465,6 +465,6 @@ INSERT INTO `aigc_model_secret`(`id`, `model_id`, `api_key`, `secret_key`, `base
|
|
|
INSERT INTO `aigc_model_secret`(`id`, `model_id`, `api_key`, `secret_key`, `base_url`, `api_version`, `dimension`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (728306205247717378, 728306205046390785, 'sk-e9855234f47346049809ce23ed3ebe3f', NULL, NULL, NULL, NULL, 1, '2025-06-25 17:48:51', NULL, NULL);
|
|
|
|
|
|
|
|
|
-INSERT INTO `aigc_embed_store`(`id`, `name`, `provider`, `endpoints`, `auth_config`, `database_config`, `vector_config`, `pool_config`, `proxy_config`, `last_health`, `health_status`, `vector_count`, `storage_usage`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (723469589962330143, 'redis向量库', 'Redis', '{\"host\": \"192.168.1.202\", \"port\": 6599}', '{\"password\": \"redis-stack\", \"username\": \"default\"}', '{\"table\": \"\", \"database\": \"0\"}', '{\"max_conn\": 16, \"dimension\": 1024, \"index_type\": \"HNSW\", \"metric_type\": \"L2\"}', NULL, NULL, NULL, 0, 0, 0, 1, '2025-06-12 09:29:52', 1, '2025-06-25 17:54:30');
|
|
|
-INSERT INTO `aigc_embed_store`(`id`, `name`, `provider`, `endpoints`, `auth_config`, `database_config`, `vector_config`, `pool_config`, `proxy_config`, `last_health`, `health_status`, `vector_count`, `storage_usage`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (727822627422388537, 'redis向量库一库', 'Redis', '{\"host\": \"192.168.1.202\", \"port\": 6599}', '{\"password\": \"redis-stack\", \"username\": \"default\"}', '{\"table\": \"\", \"database\": \"1\"}', '{\"max_conn\": 16, \"dimension\": 1024, \"index_type\": \"HNSW\", \"metric_type\": \"L2\"}', NULL, NULL, NULL, 0, 0, 0, 1, '2025-06-24 09:47:17', NULL, NULL);
|
|
|
-INSERT INTO `aigc_embed_store`(`id`, `name`, `provider`, `endpoints`, `auth_config`, `database_config`, `vector_config`, `pool_config`, `proxy_config`, `last_health`, `health_status`, `vector_count`, `storage_usage`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (728548067913023489, 'redis向量库五库', 'Redis', '{\"host\": \"192.168.1.202\", \"port\": 6599}', '{\"password\": \"redis-stack\", \"username\": \"default\"}', '{\"table\": \"\", \"database\": \"5\"}', '{\"max_conn\": 16, \"dimension\": 1024, \"index_type\": \"HNSW\", \"metric_type\": \"L2\"}', NULL, NULL, NULL, 0, 0, 0, 1, '2025-06-26 09:49:55', 1, '2025-06-26 09:50:30');
|
|
|
+INSERT INTO `aigc_embed_store`(`id`, `name`, `provider`, `endpoints`, `auth_config`, `database_config`, `vector_config`, `pool_config`, `proxy_config`, `last_health`, `health_status`, `vector_count`, `storage_usage`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (723469589962330143, 'redis向量库', 'Redis', '{\"host\": \"192.168.1.202\", \"port\": 6599}', '{\"password\": \"redis-stack\", \"username\": \"default\"}', '{\"table\": \"\", \"database\": \"0\"}', '{\"max_conn\": 16, \"dimension\": 1024, \"index_type\": \"HNSW\", \"metric_type\": \"L2\"}', NULL, NULL, NULL, 0, 0, 0, 1, NOW(), 1, NULL, NULL);
|
|
|
+INSERT INTO `aigc_embed_store`(`id`, `name`, `provider`, `endpoints`, `auth_config`, `database_config`, `vector_config`, `pool_config`, `proxy_config`, `last_health`, `health_status`, `vector_count`, `storage_usage`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (727822627422388537, 'redis向量库一库', 'Redis', '{\"host\": \"192.168.1.202\", \"port\": 6599}', '{\"password\": \"redis-stack\", \"username\": \"default\"}', '{\"table\": \"\", \"database\": \"1\"}', '{\"max_conn\": 16, \"dimension\": 1024, \"index_type\": \"HNSW\", \"metric_type\": \"L2\"}', NULL, NULL, NULL, 0, 0, 0, 1, NOW(), NULL, NULL);
|
|
|
+INSERT INTO `aigc_embed_store`(`id`, `name`, `provider`, `endpoints`, `auth_config`, `database_config`, `vector_config`, `pool_config`, `proxy_config`, `last_health`, `health_status`, `vector_count`, `storage_usage`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES (728548067913023489, 'redis向量库五库', 'Redis', '{\"host\": \"192.168.1.202\", \"port\": 6599}', '{\"password\": \"redis-stack\", \"username\": \"default\"}', '{\"table\": \"\", \"database\": \"5\"}', '{\"max_conn\": 16, \"dimension\": 1024, \"index_type\": \"HNSW\", \"metric_type\": \"L2\"}', NULL, NULL, NULL, 0, 0, 0, 1, NOW(), 1, NULL, NULL);
|