优化结构
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
configuration reloads, and repository implementations. File watching and
|
||||
immutable configuration snapshots belong to `internal/config`.
|
||||
|
||||
- `system/`: system repositories and system table persistence
|
||||
- `system/`: system repositories, media_* persistence, and system maintenance
|
||||
- `task/`: timed-task tables and task persistence
|
||||
- `integration/`: `sys_integration_configs` and integration configuration persistence
|
||||
- `payment/`: payment-order persistence
|
||||
@@ -23,9 +23,10 @@ reload locks. Do not split them into packages only to reduce file count.
|
||||
|
||||
当前内置数据模块为 `system`、`integration`、`task` 和 `payment`。其中:
|
||||
|
||||
- `system` 只拥有 `sys_*` 系统表、系统仓储、种子和系统维护清理;
|
||||
- `system` 拥有 `sys_*` 系统表、media_* 媒体表、系统仓储、种子和系统维护清理;
|
||||
- `integration` 唯一拥有 `sys_integration_configs` 表模型、配置仓储和通信默认值;
|
||||
- `task` 只拥有定时任务与任务日志表;
|
||||
- `provider/` 提供共享数据库 seam;
|
||||
- `payment` 只拥有 `pay_orders` 等支付持久化,通过 `biz/integration.PaymentConfigReader`
|
||||
读取支付配置,不感知 integration 的 PO 或表结构。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user