rwadurian/backend/services/contribution-service/src
hailin cec98e9d3e feat(contribution): 添加定时任务补发未完全解锁的贡献值
每10分钟扫描已认种但解锁状态不完整的账户,检查其直推用户认种情况,
若满足新的解锁条件则自动补发层级贡献值和奖励档位。

- 添加 findAccountsWithIncompleteUnlock 查询方法
- 添加 findPendingLevelByAccountSequence 和 claimLevelRecords 方法
- 实现 processBackfillForAccount 和 claimLevelContributions 补发逻辑
- 添加 processContributionBackfill 定时任务(每10分钟执行)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 06:25:57 -08:00
..
api refactor(system-accounts): 移除 baseType 字段,使用 accountType+regionCode 复合唯一键 2026-01-20 21:29:01 -08:00
application feat(contribution): 添加定时任务补发未完全解锁的贡献值 2026-01-28 06:25:57 -08:00
domain feat(contribution): 添加系统账户算力来源类型字段 2026-01-21 04:23:50 -08:00
infrastructure feat(contribution): 添加定时任务补发未完全解锁的贡献值 2026-01-28 06:25:57 -08:00
shared fix(contribution-service): 修复JWT验证与auth-service不兼容 2026-01-11 18:18:21 -08:00
app.module.ts fix(contribution-service): add parent .env path for shared config 2026-01-15 07:00:02 -08:00
main.ts fix(contribution-service): 统一使用api/v2前缀 2026-01-11 09:05:42 -08:00