Fix
parent
dd07b345af
commit
729f89181d
|
|
@ -35,7 +35,7 @@ class DealerWalletChange extends Form implements LazyRenderable
|
||||||
*/
|
*/
|
||||||
public function handle(array $input)
|
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');
|
return $this->response()->error('金额必须大于0');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue