From 8528489d6c7b77e9758fe9628b4fbd6802e1ce7b Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Sun, 8 Oct 2023 09:09:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=BF=94=E5=9B=9E=E8=BF=94?= =?UTF-8?q?=E7=82=B9=E5=8D=A0=E6=AF=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/AgentTeam.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controller/AgentTeam.php b/app/controller/AgentTeam.php index 06e57f1..b74f6b2 100644 --- a/app/controller/AgentTeam.php +++ b/app/controller/AgentTeam.php @@ -73,6 +73,8 @@ class AgentTeam extends BaseController #$item['phone'] = format_phone_number($item['phone']); $item['avatar'] = get_image_url($item['avatar']); $item['identity_str'] = $UserModel->identityArr[$item['identity']]; + $rebate_ratio = AgentInfo::where('aid',$item['id'])->value('rebate_ratio'); + $item['rebate_ratio'] = $rebate_ratio ?: ''; unset($item['identity']); }