From 9b5b095529064d817fc8be7700696daaf043330a Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Thu, 28 Sep 2023 10:11:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E9=94=99=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/AdminAgentTeam.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('请填写修改的密码或返点占比'); }