From f1618e6a2df0d963db2d71d0583adc2b466be380 Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Mon, 25 Nov 2024 17:10:43 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/Gh.php b/app/api/controller/Gh.php index c4d0a888..e8f27d79 100644 --- a/app/api/controller/Gh.php +++ b/app/api/controller/Gh.php @@ -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['order_amount']/100,2); + $electrodeless = round($earnings_electrodeless_pecent*$abutment['classify_amt']/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){