后端迁移领取换码服务

This commit is contained in:
yml
2026-05-21 14:22:20 +08:00
parent ab3a8caa9f
commit b6b6d2d8ca
2 changed files with 138 additions and 17 deletions
+9 -1
View File
@@ -264,13 +264,21 @@
- `npm run typecheck`
- `npm run build`
- `npm test` 共 125 个用例通过
28. claim 换码服务迁移到 `.ts`
- `src/services/claim/session/redeem.ts`
29. 换码流程的上下文、腾讯兑换返回、分类结果、尝试记录、错误状态、依赖注入函数已显式类型化
30. Docker 内验证通过:
- claim 换码相关 2 个测试文件共 8 个用例通过
- `npm run typecheck`
- `npm run build`
- `npm test` 共 125 个用例通过
## 下一步建议
第一批继续推进时,建议按这个顺序:
1. 继续迁移服务层中最核心、最常改的订单 / 履约 / claim 模块
2. 逐步移除服务层 `@ts-nocheck`,优先处理 claim session、webhook service、自动发货
2. 逐步移除服务层 `@ts-nocheck`,优先处理 webhook service、自动发货
## 执行原则