优化结构

This commit is contained in:
Yvan
2026-08-21 00:01:48 +08:00
parent e65cf0b1d0
commit 746e33e027
344 changed files with 1021 additions and 578 deletions
+13
View File
@@ -0,0 +1,13 @@
# Platform
这里放跨业务模块的基础设施,不放具体业务表或业务用例。
当前包含:
- `database`:跨模块共享的 GORM 支持、分页和迁移执行器
- `module`:模块迁移、后台元数据和路由注册协议
- `task`:跨模块共享的进程内任务注册表和贡献协议
平台层只能提供机制,不能引用 `internal/modules/*`。数据库配置加载、系统集成配置
和系统表仍由 system 模块负责;未来提炼公共连接管理时,也必须先形成不带系统
业务语义的稳定接口,再移动到这里。