From 729f89181dc909ed22e497c6141b039d9a291fb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=9D=99?= Date: Sun, 24 Apr 2022 11:16:34 +0800 Subject: [PATCH] Fix --- app/Admin/Forms/DealerWalletChange.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }