后端迁移订单同步服务

This commit is contained in:
yml
2026-05-21 14:25:04 +08:00
parent b6b6d2d8ca
commit ca6e8b43c9
2 changed files with 122 additions and 12 deletions
+9 -1
View File
@@ -272,13 +272,21 @@
- `npm run typecheck`
- `npm run build`
- `npm test` 共 125 个用例通过
31. 订单 upsert 服务迁移到 `.ts`
- `src/services/order/order-service.ts`
32. 外部订单事件、订单履约商品、订单状态合并结果、upsert 返回结构已显式类型化
33. Docker 内验证通过:
- 订单 / webhook / open91 相关 3 个测试文件共 15 个用例通过
- `npm run typecheck`
- `npm run build`
- `npm test` 共 125 个用例通过
## 下一步建议
第一批继续推进时,建议按这个顺序:
1. 继续迁移服务层中最核心、最常改的订单 / 履约 / claim 模块
2. 逐步移除服务层 `@ts-nocheck`,优先处理 webhook service、自动发货
2. 逐步移除服务层 `@ts-nocheck`,优先处理 webhook service、自动发货、delivery task
## 执行原则