diff --git a/lib/comm_plan/self.go b/lib/comm_plan/self.go index 98c18ee..5c7c278 100644 --- a/lib/comm_plan/self.go +++ b/lib/comm_plan/self.go @@ -104,7 +104,7 @@ Loop: if _, ok := grade[node.ParentUser.Lv]; !ok { return zhios_order_relate_logx.Warn("level grade node.ParentUser.Lv is not set") } - commission, commissionRatio, amountList, teamRatioList := CalReturnAmountAndRatio(node.ParentUser.Lv, userList.OwnbuyReturnType, peerNum, "team", totalAmt, integralTotalAmt, opt) + commission, _, amountList, teamRatioList := CalReturnAmountAndRatio(node.ParentUser.Lv, userList.OwnbuyReturnType, peerNum, "team", totalAmt, integralTotalAmt, opt) //佣金 node.ParentUser.Profit = commission node.ParentUser.Profit, restAmt, totalCommissionRatio, node.ParentUser.SubsidyFee, isBreak = teamDiffMoney(node.ParentUser.Profit, grade[node.Lv].PayMode, isOnlySubsidyFee, totalAmt, restAmt, grade[node.ParentUser.Lv].TeamRate, commissionRatio, peerRate, node.ParentUser.SubsidyFee, subsidyRatio)