Files
break f15a64395f
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m30s
修复反馈
2026-08-10 16:30:38 +08:00

17 lines
1021 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 1. 授权套餐候选列表
- [x] 1.1 定义独立候选列表路由、请求与响应 DTO并生成接口文档。
- [x] 1.2 实现指定店铺和系列的可分配套餐查询及 `authorized` 状态,复用现有权限与上级授权链校验。
- [x] 1.3 运行格式化、API/Worker 构建和文档生成,确认套餐管理列表接口未变。
- [x] 1.4 候选套餐响应复用套餐列表字段集并追加 `authorized` 状态。
## 2. 主钱包低余额通知
- [x] 2.1 将跨 100 元阈值和有效业务员解析收口至主钱包扣款事件 Writer并在扣款事务中幂等写入通知 Outbox。
- [x] 2.2 删除扣款 Outbox 消费者中的低余额派生逻辑,保留扣款事实一致性校验。
- [x] 2.3 以测试库的 10000→9900、持续低余额、回升后再次跌破数据验证通知事件行为。
## 3. 变更验证
- [x] 3.1 运行 `gofmt``go build ./cmd/api ./cmd/worker``go run cmd/gendocs/main.go``openspec validate --all``./scripts/context-health.sh`