Repository navigation
refactor(api): 重构API路由组织结构并简化模块导入 - #170
Merged
Merged
Conversation
fastapiadmin
commented
Sep 15, 2025
Owner
- 将系统管理、监控管理、通用、资源管理、示例、应用及AI模块路由封装为统一Router
- 精简顶层路由注册逻辑,提升维护性和可读性
- 按模块重构AI、应用、通用、示例、监控、资源、系统子模块初始化文件
- 采用SQLAlchemy 2.0新语法重写工单和版本模型,兼容MySQL和PostgreSQL
- 完善工单和版本模块CRUD、服务、参数校验、Schema和控制器代码
- 增加工单和版本的权限验证、日志记录及分页支持
- 统一使用pydantic的新配置类ConfigDict增强Schema定义
- 删除废弃的工单和版本旧代码,提升代码一致性和健壮性
- 将系统管理、监控管理、通用、资源管理、示例、应用及AI模块路由封装为统一Router - 精简顶层路由注册逻辑,提升维护性和可读性 - 按模块重构AI、应用、通用、示例、监控、资源、系统子模块初始化文件 - 采用SQLAlchemy 2.0新语法重写工单和版本模型,兼容MySQL和PostgreSQL - 完善工单和版本模块CRUD、服务、参数校验、Schema和控制器代码 - 增加工单和版本的权限验证、日志记录及分页支持 - 统一使用pydantic的新配置类ConfigDict增强Schema定义 - 删除废弃的工单和版本旧代码,提升代码一致性和健壮性
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.