diff --git a/app/Admin/Forms/DealerWalletChange.php b/app/Admin/Forms/DealerWalletChange.php index 5d3080ee..badd8da6 100644 --- a/app/Admin/Forms/DealerWalletChange.php +++ b/app/Admin/Forms/DealerWalletChange.php @@ -35,7 +35,7 @@ class DealerWalletChange extends Form implements LazyRenderable */ public function handle(array $input) { - if (bccomp($input['change_balance'], '0', 2) === -1) { + if (bccomp($input['change_balance'], '0', 2) <= 0) { return $this->response()->error('金额必须大于0'); }