seven 1 개월 전
부모
커밋
0f565900c0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Services/WithdrawService.php

+ 1 - 1
app/Services/WithdrawService.php

@@ -346,7 +346,7 @@ class WithdrawService
         $withdraw->to_account = $real;
         $withdraw->address = $address;
         $withdraw->status = 0;
-        $withdraw->after_balance = $wallet->available_balance;
+        $withdraw->after_balance = bcdiv($wallet->available_balance,$rate,2);
         $withdraw->save();
         $bl->related_id = $withdraw->id;
         $bl->save();