Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
648e905daa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/comm_plan/self.go

+ 1
- 1
lib/comm_plan/self.go View File

@@ -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)


Loading…
Cancel
Save