feat: integrate unified payment and wallet refunds

This commit is contained in:
2026-08-02 23:26:28 +08:00
parent 82a2106a97
commit 6ed417c8c1
271 changed files with 586 additions and 31966 deletions

View File

@@ -1,6 +1,6 @@
# 后端服务仓
本目录严格采用 [sample/server](../../sample/server) 的 BSM-SDK Core 分层:每个 Go 进程均使用 `cmd``internal/config``internal/impl``internal/logic``internal/models``internal/routers``etc``scripts``test``Makefile` 约定。
本目录采用 BSM-SDK Core 分层:每个 Go 进程均使用 `cmd``internal/config``internal/impl``internal/logic``internal/models``internal/routers``etc``scripts``test``Makefile` 约定。
| 目录 | 进程与职责 |
| --- | --- |
@@ -8,4 +8,4 @@
| `worker` | Redis Streams 消费、Outbox 投递、超时扫描与 Mock 外部适配 |
| `iot` | MQTT 协议适配边界、遥测/命令契约校验与 Mock 设备接入 |
`sample/server` 的工程机制被直接沿用;但由于项目规范强制要求 `identity` 为 UUID V7 主键,领域模型使用自定义 `models.Entity`不使用样例中含自增 `ID` `types.Std_IICUDS`
三个进程沿用统一的工程机制;领域模型使用仓库约定的自定义 `models.Entity`并遵守 `id` 自增主键与 `identity` 对外身份分离规则