|
|
@@ -133,7 +133,7 @@ Loop: |
|
|
|
node.ParentUser.ProfitList = amountList1 |
|
|
|
node.ParentUser.ProfitList, restAmtList, accumulateRatioList, node.ParentUser.SubsidyFeeList, zeroList = teamDiffMoneyV2Winery(node.ParentUser.ProfitList, grade[node.Lv].PayMode, isOnlySubsidyFee, totalAmtList, restAmtList, teamRatioList1, accumulateRatioList, peerRateList, subsidyFeeList, subsidyRatioList) |
|
|
|
for _, v := range node.ParentUser.ProfitList { |
|
|
|
amountMap[v.Cid] += amountMap[v.Cid] |
|
|
|
amountMap[v.Cid] += v.Val |
|
|
|
} |
|
|
|
var tmp = make([]*VirtualCoinCommission, 0) |
|
|
|
for k, v := range amountMap { |
|
|
|