seaislee1209 a4c36e4fee
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m50s
fix: v0.15.1 生成记录软删除 + 双重结算修复
1. 软删除:GenerationRecord 新增 is_deleted 字段,DELETE 接口改为标记不真删,
   用户生成列表/资产页/任务详情过滤已删除记录,消费记录和管理后台不过滤
2. 双重结算修复:前端轮询(video_task_detail_view)不再调火山API和结算,
   只读数据库状态,结算完全交给 Celery
3. _settle_payment 加防重入检查(frozen_amount==0 直接 return)
4. 部署需跑 migration 0016_add_is_deleted_to_generationrecord

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 20:05:08 +08:00
..
2026-03-13 17:17:01 +08:00