From f0918bcb3d43af1218f08b6ea4ad99421175c21b Mon Sep 17 00:00:00 2001 From: ztt <835303992@qq.com> Date: Mon, 1 Apr 2024 17:49:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E4=BD=A3=E9=80=BB=E8=BE=91=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/shopro/service/CommissionScoreLog.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/shopro/service/CommissionScoreLog.php b/addons/shopro/service/CommissionScoreLog.php index a1f9dd0..ebeee32 100644 --- a/addons/shopro/service/CommissionScoreLog.php +++ b/addons/shopro/service/CommissionScoreLog.php @@ -144,7 +144,7 @@ class CommissionScoreLog //4.向上反佣金 if ($parentLevel > $currentLevel) { $amount = bcsub($current_level_price, $parent_level_price, 2); - //如果当前当前用户等级是上级是会员 按原价算 + //5.如果初始用户等级普通用户 上级是会员 会员上级按原价算 // if($currentLevel == self::LEVEL_2) { if($initLevel == self::LEVEL_1 && $sonLevel == self::LEVEL_2) { $amount = bcsub($order['goods_price'], $parent_level_price, 2); @@ -159,7 +159,7 @@ class CommissionScoreLog } } - //5.用户的上上级是高级 算团队2% 并给公司账户加钱 + //6.用户的上上级是高级 算团队2% 并给公司账户加钱 if ($parentLevel == self::LEVEL_5 && $currentLevel == self::LEVEL_5 && $level5<2) { if ($level5 == 0) { @@ -182,7 +182,7 @@ class CommissionScoreLog } } else { - //6.只有最后一级是高级时反公司积分 + //7.只有最后一级是高级时反公司积分 if ($currentLevel == self::LEVEL_5 && $sonLevel != self::LEVEL_5 && $currentCommissionLevel > 1) { $this->calcCompany($current_level_price, $company_level_price); }