rwadurian/backend/services/contribution-service/src
hailin b1607666a0 fix(contribution): LEVEL_OVERFLOW 回收任务,修复已解锁层级的溢出记录无法被回收的 bug
当下级认种时上级 unlocked_level_depth 不足,层级奖励进入 LEVEL_OVERFLOW(PENDING)。
上级后续解锁到足够层级后,现有 backfill 因条件 expectedLevel > currentLevel 为 false
而跳过,导致 PENDING 记录永远无法被回收。新增独立调度任务每10分钟扫描并回收。

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 10:12:48 -08:00
..
api refactor(system-accounts): 移除 baseType 字段,使用 accountType+regionCode 复合唯一键 2026-01-20 21:29:01 -08:00
application fix(contribution): LEVEL_OVERFLOW 回收任务,修复已解锁层级的溢出记录无法被回收的 bug 2026-01-30 10:12:48 -08:00
domain feat(contribution): 添加系统账户算力来源类型字段 2026-01-21 04:23:50 -08:00
infrastructure fix(contribution): LEVEL_OVERFLOW 回收任务,修复已解锁层级的溢出记录无法被回收的 bug 2026-01-30 10:12:48 -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