wesmiler 1 년 전
부모
커밋
384f30ac94
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
                 }