Change the balance_after field to balance

This commit is contained in:
Liujian committed 2025-12-30 18:41:18 +08:00
1 parent 915a2bcf9e
commit fa23805b5c
1 file changed
+2 -2
@@ -51,13 +51,13 @@ class UserWalletHistoryService:
info["description"] = service.name
except:
info["description"] = "-"
info["balance_after"] = order.balance_after
info["balance"] = order.balance_after
elif order.type == TransactionType.DEPOSIT:
info["order_type"] = "recharge"
if order.status == 1:
info["balance_after"] = order.balance_after
else:
info["balance_after"] = "-"
info["balance"] = "-"
info["description"] = order.payment_method
else:
info["order_type"] = order.type