购买预种份额后,planting-service 调用 wallet-service 新增的内部 API, 将用户标记为 hasPlanted=true 并结算所有 PENDING 奖励为 SETTLED。 纯新增代码,不修改任何现有方法逻辑,两步均幂等,失败不阻塞购买流程。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| controllers | ||
| dto | ||
| api.module.ts | ||
购买预种份额后,planting-service 调用 wallet-service 新增的内部 API, 将用户标记为 hasPlanted=true 并结算所有 PENDING 奖励为 SETTLED。 纯新增代码,不修改任何现有方法逻辑,两步均幂等,失败不阻塞购买流程。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| controllers | ||
| dto | ||
| api.module.ts | ||