diff --git a/app/controller/AdminAgentTeam.php b/app/controller/AdminAgentTeam.php index ae774e4..95c83e5 100644 --- a/app/controller/AdminAgentTeam.php +++ b/app/controller/AdminAgentTeam.php @@ -175,7 +175,7 @@ class AdminAgentTeam extends BaseController validate()->rule([ 'aid|代理id' => 'require|number', 'password|密码' => 'min:6|max:20', - 'rebate_ratio|返点占比' => 'float|egt:1' + 'rebate_ratio|返点占比' => 'float' ])->check($param); if (empty($param['password']) && empty($param['rebate_ratio'])) { throw new ValidateException('请填写修改的密码或返点占比'); diff --git a/app/validate/Agent.php b/app/validate/Agent.php index e48fb89..1131677 100644 --- a/app/validate/Agent.php +++ b/app/validate/Agent.php @@ -20,7 +20,7 @@ class Agent extends Validate 'repassword|确认密码' => 'require|confirm:password', 'aid|代理id' => 'require|number', 'phone|手机号' => 'require|mobile', - 'rebate_ratio|返点占比' => 'float|egt:1' + 'rebate_ratio|返点占比' => 'float' ]; /**