wesmiler hai 1 ano
pai
achega
384f30ac94
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Services/Api/MemberService.php

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

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