Merge pull request #104 from xpack-ai/feature/1.3-liujian
Change the balance_after field to balance
This commit is contained in:
1 file changed
+1
-1
@@ -55,7 +55,7 @@ class UserWalletHistoryService:
|
||||
elif order.type == TransactionType.DEPOSIT:
|
||||
info["order_type"] = "recharge"
|
||||
if order.status == 1:
|
||||
info["balance_after"] = order.balance_after
|
||||
info["balance"] = order.balance_after
|
||||
else:
|
||||
info["balance"] = "-"
|
||||
info["description"] = order.payment_method
|
||||
|
||||
Reference in new issue
Block a user