This commit is contained in:
2026-07-23 18:37:04 +08:00
parent 920d884e92
commit cc0f8e5fd8
+3 -3
View File
@@ -524,7 +524,7 @@ async def optimize(
db, db,
user_id_snapshot, user_id_snapshot,
hold_credits, hold_credits,
"AI创作预扣积分", f"AI创作预扣积分 - {project_name_snapshot}",
biz_key=hold_biz_key, biz_key=hold_biz_key,
) )
await db.commit() await db.commit()
@@ -553,7 +553,7 @@ async def optimize(
db, db,
user_id_snapshot, user_id_snapshot,
hold_credits, hold_credits,
"AI创作预扣积分退还", f"AI创作预扣积分退还 - {project_name_snapshot}",
record_type="refund", record_type="refund",
biz_key=hold_refund_biz_key, biz_key=hold_refund_biz_key,
refund_for_biz_key=hold_biz_key, refund_for_biz_key=hold_biz_key,
@@ -667,7 +667,7 @@ async def optimize(
db, db,
user_id_snapshot, user_id_snapshot,
hold_credits, hold_credits,
"AI创作预扣积分退还", f"AI创作预扣积分退还 - {project_name_snapshot}",
record_type="refund", record_type="refund",
biz_key=hold_refund_biz_key, biz_key=hold_refund_biz_key,
refund_for_biz_key=hold_biz_key, refund_for_biz_key=hold_biz_key,