refactor: 重构项目模块结构与代码细节优化

1.  调整后端模块路由与插件文件结构,迁移部分模块代码至api/v1目录
2.  优化代码注释格式与文档字符串,简化冗余代码
3.  添加监控仪表盘、工单评论等新模块功能
4.  修复前端部分组件交互逻辑与类型定义
5.  清理冗余的初始化数据与废弃配置文件
6.  新增租户注册表单字段与国际化支持
7.  优化HTTP请求拦截器与快捷键功能
This commit is contained in:
zhangtao
2026-07-10 00:18:11 +08:00
parent 349ab7b525
commit 5ff72b086f
323 changed files with 7633 additions and 15306 deletions
+5 -27
View File
@@ -35,9 +35,9 @@
"github_login": null,
"wx_login": null,
"qq_login": null,
"dept_id": 2,
"dept_id": 1,
"status": 0,
"description": "技术部门管理员",
"description": "系统管理员",
"created_id": 1,
"updated_id": null
},
@@ -56,32 +56,10 @@
"github_login": null,
"wx_login": null,
"qq_login": null,
"dept_id": 3,
"dept_id": 1,
"status": 0,
"description": "后端开发工程师",
"description": "普通用户",
"created_id": 1,
"updated_id": null
},
{
"tenant_id": 2,
"username": "test_admin",
"password": "$pbkdf2-sha256$600000$E8jfd18sWu7N9DWsx/nYKg==$9DNKCv+dm1QDvYXwpQlZH6e7trYp1WCPdsvSyzXwuo0=",
"name": "测试管理员",
"mobile": "13800138001",
"email": "test@fastapiadmin.com",
"status": 0,
"is_superuser": false,
"description": "测试租户管理员"
},
{
"tenant_id": 2,
"username": "test_user",
"password": "$pbkdf2-sha256$600000$E8jfd18sWu7N9DWsx/nYKg==$9DNKCv+dm1QDvYXwpQlZH6e7trYp1WCPdsvSyzXwuo0=",
"name": "测试用户",
"mobile": "13800138002",
"email": "test2@fastapiadmin.com",
"status": 0,
"is_superuser": false,
"description": "测试租户普通用户"
}
]
]