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]); }