Browse Source

报错解决

master
wanghongjun 3 years ago
parent
commit
9b5b095529
  1. 2
      app/controller/AdminAgentTeam.php

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

Loading…
Cancel
Save