Ken 3 周之前
父節點
當前提交
b73e90891c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/WithdrawService.php

+ 1 - 1
app/Services/WithdrawService.php

@@ -397,7 +397,7 @@ class WithdrawService
             'address' => $address,
             'exchange_rate' => $rate,
             'status' => 0,
-            'after_balance' => $wallet->available_balance
+            'after_balance' => bcdiv($wallet->available_balance, $rate, 2)
         ]);