From 110e5001ee8e15bc83f6a7a3dc1230f7f24b6c43 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Wed, 31 Mar 2021 17:26:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=8A=A1=E6=B1=87=E6=80=BB=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/BusinessAffairsAwardController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/BusinessAffairsAwardController.class.php b/Application/Admin/Controller/BusinessAffairsAwardController.class.php index 150147eed..4fc9a1804 100644 --- a/Application/Admin/Controller/BusinessAffairsAwardController.class.php +++ b/Application/Admin/Controller/BusinessAffairsAwardController.class.php @@ -58,7 +58,7 @@ class BusinessAffairsAwardController extends ThinkController $this->ajaxReturn(["msg"=>"请填写抽成比例","code"=>0]); } - if(!$_POST['start_amount']) { + if(!$_POST['start_amount'] && $_POST['start_amount']!='0') { $this->ajaxReturn(["msg"=>"请填写起始流水","code"=>0]); } @@ -98,7 +98,7 @@ class BusinessAffairsAwardController extends ThinkController $this->ajaxReturn(["msg"=>"请填写抽成比例","code"=>0]); } - if(!$_POST['start_amount']) { + if(!$_POST['start_amount'] && $_POST['start_amount']!='0') { $this->ajaxReturn(["msg"=>"请填写起始流水","code"=>0]); }