diff --git a/app/controller/AdminAgentTeam.php b/app/controller/AdminAgentTeam.php index 466ddb0..7506c66 100644 --- a/app/controller/AdminAgentTeam.php +++ b/app/controller/AdminAgentTeam.php @@ -178,7 +178,7 @@ class AdminAgentTeam extends BaseController 'rebate_ratio|返点占比' => 'float' ])->check($param); $password = $param['password'] ?? ''; - $rebate_ratio = $param['rebate_ratio'] ?? ''; + $rebate_ratio = (string) $param['rebate_ratio'] ?? ''; if (empty($password) && strlen($rebate_ratio) <= 0) { throw new ValidateException('请填写修改的密码或返点占比'); }