feat: add manual recharge and operation logs

This commit is contained in:
hectorzhao
2026-07-01 15:54:56 +08:00
parent 50d75f1cf3
commit 7ff6d7eac3
14 changed files with 339 additions and 32 deletions
@@ -33,6 +33,19 @@
- `GET /api/admin/operations/audit-summary`
- `GET /api/admin/operations/trace`
- `GET /api/admin/operations/reconciliation`
- 运营端页面增补:
- 充值记录页增加企业人工充值入口,并展示人工充值记录类型和备注。
- 系统管理增加系统日志页面。
- 客户端页面增补:
- 工作台“剩余条数”改为“剩余余额”。
- 工作台“近24小时成功率”改为今日发送条数和今日成功率。
- 工作台新增今日消费金额和今日返还金额。
- 2026-07-01 需求增补验证:
- `npm --prefix api test -- billing.service.spec.ts` 通过。
- `npm --prefix api run build` 通过。
- `npm run build` 通过。
- `npm run verify:phase8` 复跑通过,BullMQ Spike 端到端约 502.30 TPS。
- API health smoke 通过:`http://localhost:3101/api/health` 返回 `ok`
- `npm run verify:phase8` 通过。
- 队列契约校验通过。
- Go Gateway `go test ./...` 通过。