|
|
@ -198,9 +198,8 @@ class AdminAgentTeam extends BaseController |
|
|
Event::trigger(AgentPasswordChange::class,$event); |
|
|
Event::trigger(AgentPasswordChange::class,$event); |
|
|
} |
|
|
} |
|
|
# 保存返点占比 |
|
|
# 保存返点占比 |
|
|
if (!empty($param['rebate_ratio'])) { |
|
|
$rebate_ratio = $param['rebate_ratio'] ?? 0; |
|
|
AgentInfo::updateRebateRatio($param['aid'],$param['rebate_ratio']); |
|
|
AgentInfo::updateRebateRatio($param['aid'],$rebate_ratio); |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$connection->commit(); |
|
|
$connection->commit(); |
|
|
return $this->renderSuccess('成功'); |
|
|
return $this->renderSuccess('成功'); |
|
|
|