From 3fce58c1a92c738fcd08976e59efa7da4a2e1a7c Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Mon, 25 Nov 2024 17:11:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=A1=8C=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Gh.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/controller/Gh.php b/app/api/controller/Gh.php index e8f27d79..41db507c 100644 --- a/app/api/controller/Gh.php +++ b/app/api/controller/Gh.php @@ -251,7 +251,7 @@ class Gh extends Api } $earns = new Earnings(); // 推广会员用户佣金 - $earnings = round($earnings_pecent*$abutment['classify_amt']/100,2); + $earnings = round($earnings_pecent*$abutment['classify_amt']/100/100,2); $distribution_user_earnings = AccountLog::distribution_user_earnings; $earnings_result = $earns->userEarnings($earnings,$user['first_leader'],$distribution_user_earnings); if(!$earnings_result){ @@ -260,7 +260,7 @@ class Gh extends Api // 推广会员无极佣金 if($user['divide_state']==1){ if($user['divide_role_user_id'] > 0){ - $electrodeless = round($earnings_electrodeless_pecent*$abutment['classify_amt']/100,2); + $electrodeless = round($earnings_electrodeless_pecent*$abutment['classify_amt']/100/100,2); $distribution_user_electrodeless_earnings = AccountLog::distribution_user_electrodeless_earnings; $earnings_result = $earns->userElectrodelessEarnings($electrodeless,$user['divide_role_user_id'],$distribution_user_electrodeless_earnings); if(!$earnings_result){