From d5b7e2e362f22de167ce55d5d4e6f3bf337ee33e Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Sat, 25 Mar 2023 10:07:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/comm_plan/ds_check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/comm_plan/ds_check.go b/lib/comm_plan/ds_check.go index b9f68a6..66632e1 100644 --- a/lib/comm_plan/ds_check.go +++ b/lib/comm_plan/ds_check.go @@ -310,7 +310,7 @@ Loop: node.ParentUser.Profit = commission teamRate := 0.00 if len(grade[node.ParentUser.Lv].TeamRateList) > 0 { - teamRate = zhios_order_relate_utils.StrToFloat64(grade[node.ParentUser.Lv].TeamRateList["0"]) + teamRate = zhios_order_relate_utils.StrToFloat64(grade[node.ParentUser.Lv].TeamRateList["0"]) / 100 } node.ParentUser.Profit, restAmt, totalCommissionRatio, node.ParentUser.SubsidyFee, isBreak = teamDiffMoney(node.ParentUser.Profit, grade[node.Lv].PayMode, isOnlySubsidyFee, totalAmt, restAmt, teamRate, totalCommissionRatio, peerRate, node.ParentUser.SubsidyFee, 0) //积分