feat: 新增配置中心功能并优化系统配置管理

refactor: 重构配置管理相关代码,包括模型、参数和CRUD操作
docs: 更新README文档中的图片引用
style: 统一前端表格样式和布局,优化暗色模式背景色
fix: 修复日志记录中用户信息泄露问题
perf: 优化前端路由和组件性能
chore: 更新依赖和脚本文件
```

这个提交消息涵盖了以下主要变更:
1. 新增了配置中心功能模块
2. 重构了后端配置管理相关代码
3. 更新了文档中的图片引用
4. 统一了前端表格样式
5. 修复了安全相关问题
6. 优化了前端性能
7. 更新了项目依赖

消息遵循了约定的提交格式,每个类型都准确地描述了变更的性质,并保持了简洁性。
This commit is contained in:
zhangtao
2025-06-02 22:35:45 +08:00
parent 60e6452255
commit 9d426b2e4c
75 changed files with 2103 additions and 1524 deletions
+95 -11
View File
@@ -1,17 +1,101 @@
[
{
"id": 1,
"title": "FastAPI Vue Admin",
"favicon": "http://localhost:8001/api/v1/static/image/favicon.ico",
"logo": "http://localhost:8001/api/v1/static/image/logo.png",
"background": "http://localhost:8001/api/v1/static/image/background.png",
"description": "FastAPI Vue Admin 是完全开源的权限管理系统",
"copyright": "Copyright © 2021-2025 fastapi-vue-admin.com 版权所有",
"keep_record": "晋ICP备18005113号-3",
"help_url": "https://gitee.com/tao__tao/fastapi_vue3_admin.git",
"privacy_url": "https://gitee.com/tao__tao/fastapi_vue3_admin/blob/master/LICENSE",
"clause_url": "https://gitee.com/tao__tao/fastapi_vue3_admin/blob/master/LICENSE",
"code_url": "https://gitee.com/tao__tao/fastapi_vue3_admin.git",
"config_name": "网站名称",
"config_key": "sys_web_title",
"config_value": "FastAPI Vue3 Admin",
"config_type": true,
"description": "网站名称",
"creator_id": 1
},
{
"id": 2,
"config_name": "网站描述",
"config_key": "sys_web_description",
"config_value": "FastAPI Vue3 Admin 是完全开源的权限管理系统",
"config_type": true,
"description": "网站描述",
"creator_id": 1
},
{
"id": 3,
"config_name": "网页图标",
"config_key": "sys_web_favicon",
"config_value": "http://service.fastapiadmin.com/api/v1/static/image/favicon.ico",
"config_type": true,
"description": "网页图标",
"creator_id": 1
},
{
"id": 4,
"config_name": "网站Logo",
"config_key": "sys_web_logo",
"config_value": "http://service.fastapiadmin.com/api/v1/static/image/logo.png",
"config_type": true,
"description": "网站Logo",
"creator_id": 1
},
{
"id": 5,
"config_name": "登录背景",
"config_key": "sys_login_background",
"config_value": "http://service.fastapiadmin.com/api/v1/static/image/background.png",
"config_type": true,
"description": "登录背景",
"creator_id": 1
},
{
"id": 6,
"config_name": "版权信息",
"config_key": "sys_web_copyright",
"config_value": "Copyright © 2025-2026 service.fastapiadmin.com 版权所有",
"config_type": true,
"description": "版权信息",
"creator_id": 1
},
{
"id": 7,
"config_name": "备案信息",
"config_key": "sys_keep_record",
"config_value": "陕ICP备2025069493号-1",
"config_type": true,
"description": "备案信息",
"creator_id": 1
},
{
"id": 8,
"config_name": "帮助文档",
"config_key": "sys_help_doc",
"config_value": "http://service.fastapiadmin.com/site/index.html",
"config_type": true,
"description": "帮助文档",
"creator_id": 1
},
{
"id": 9,
"config_name": "隐私政策",
"config_key": "sys_web_privacy",
"config_value": "https://github.com/1014TaoTao/fastapi_vue3_admin/blob/master/LICENSE",
"config_type": true,
"description": "隐私政策",
"creator_id": 1
},
{
"id": 10,
"config_name": "用户协议",
"config_key": "sys_web_clause",
"config_value": "https://github.com/1014TaoTao/fastapi_vue3_admin/blob/master/LICENSE",
"config_type": true,
"description": "用户协议",
"creator_id": 1
},
{
"id": 11,
"config_name": "源码代码",
"config_key": "sys_git_code",
"config_value": "https://github.com/1014TaoTao/fastapi_vue3_admin.git",
"config_type": true,
"description": "源码代码",
"creator_id": 1
}
]
+3 -3
View File
@@ -936,11 +936,11 @@
},
{
"id": 56,
"name": "批量更新配置",
"name": "导出配置",
"type": 3,
"icon": null,
"order": 4,
"permission": "system:config:update",
"permission": "system:config:export",
"route_name": null,
"route_path": null,
"component_path": null,
@@ -953,7 +953,7 @@
},
{
"id": 57,
"name": "文件上传",
"name": "配置上传",
"type": 3,
"icon": null,
"order": 5,