wesmiler 1 vuosi sitten
vanhempi
commit
f6fecbbedf
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Services/Api/MemberService.php

+ 1 - 1
app/Services/Api/MemberService.php

@@ -566,7 +566,7 @@ class MemberService extends BaseService
                 if (($withdrawTotal + floatval($money)) >= $maxWithdrawMoney) {
                     DB::rollBack();
                     $this->error = 2026; // 可提金额超出
-                    $this->errorData = ['money' => ($maxWithdrawMoney - $withdrawTotal)];
+                    $this->errorData = ['money' => moneyFormat($maxWithdrawMoney - $withdrawTotal,2)];
                     return false;
                 }