|
|
|
@ -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('请填写修改的密码或返点占比'); |
|
|
|
} |
|
|
|
|