feat(wallet): 0 点定时把用户金币「到分全额」自动兑成现金 #45
Reference in New Issue
Block a user
Delete Branch "feat/daily-auto-exchange"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
客户端已删手动兑入口、改「0 点自动兑现金」,服务端补这条批处理:
1 分(COIN_PER_CENT)即可,不受手动兑下限约束;remark 可定制。
兑现金,零头留下次;幂等键=当天是否已有 exchange_in 流水(_has_exchange_in_on);逐用户独立事务,
单用户异常 rollback 不中断。
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com