mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
refactor: 完成系统架构升级与模块拆分
本次提交进行了大规模的系统重构: 1. 拆分租户相关模块到platform平台层,重构租户表名与关联关系 2. 迁移日志、工单、插件等模块到对应层级,统一代码结构 3. 重构批量操作接口路径,从/available/setting改为/status/batch 4. 新增批量删除基础模型,统一处理批量操作逻辑 5. 优化导入导出接口,修正路由方法与描述信息 6. 修复循环引用问题,重构依赖注入与类型导入 7. 更新初始化脚本与路由注册,新增平台管理路由 8. 重构岗位模型,新增岗位编码字段与校验 9. 完善部门删除逻辑,新增子部门删除限制 10. 更新初始化数据与配置文件,适配新架构
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
[
|
||||
{
|
||||
"request_path": "/api/v1/auth/login",
|
||||
"request_method": "POST",
|
||||
"request_payload": "{\"username\": \"admin\", \"password\": \"******\"}",
|
||||
"request_ip": "192.168.1.100",
|
||||
"request_os": "Windows 10",
|
||||
"request_browser": "Chrome 120.0",
|
||||
"response_code": 200,
|
||||
"response_json": "{\"code\": 200, \"message\": \"登录成功\"}",
|
||||
"process_time": "0.125s",
|
||||
"tenant_id": 1,
|
||||
"created_id": 1
|
||||
},
|
||||
{
|
||||
"request_path": "/api/v1/user/list",
|
||||
"request_method": "GET",
|
||||
"request_payload": null,
|
||||
"request_ip": "192.168.1.100",
|
||||
"request_os": "Windows 10",
|
||||
"request_browser": "Chrome 120.0",
|
||||
"response_code": 200,
|
||||
"response_json": "{\"code\": 200, \"data\": [...]}",
|
||||
"process_time": "0.052s",
|
||||
"tenant_id": 1,
|
||||
"created_id": 1
|
||||
},
|
||||
{
|
||||
"request_path": "/api/v1/role/create",
|
||||
"request_method": "POST",
|
||||
"request_payload": "{\"name\": \"测试角色\", \"code\": \"TEST\"}",
|
||||
"request_ip": "192.168.1.101",
|
||||
"request_os": "macOS 14.0",
|
||||
"request_browser": "Safari 17.0",
|
||||
"response_code": 200,
|
||||
"response_json": "{\"code\": 200, \"message\": \"创建成功\"}",
|
||||
"process_time": "0.089s",
|
||||
"tenant_id": 1,
|
||||
"created_id": 2
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user