Browse Source

test

tags/v4.3.0
huangjiajun 1 year ago
parent
commit
5801fce4f8
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      lib/comm_plan/winery.go

+ 3
- 3
lib/comm_plan/winery.go View File

@@ -114,12 +114,12 @@ Loop:
if node.ParentUser.Lv > 2 && maxLvData != nil {
node.ParentUser.LevelWeight = maxLvData.LevelWeight
}
if node.ParentUser.Lv == 1 {
if isPostion == 1 { //只要是前2个会员 都走店员----店员逻辑
isCus = 1
extendUid = node.ParentUser.Uid
} else {
maxLevelWeight, maxLv, peerRate, peerRateList, peerNum, sameProfit, sameProfitList, isCus, extendUid = node.ParentUser.LevelWeight, node.ParentUser.Lv, 0, nil, 0, node.ParentUser.Profit, node.ParentUser.ProfitList, isCus, extendUid
}
isPostion = 0
maxLevelWeight, maxLv, peerRate, peerRateList, peerNum, sameProfit, sameProfitList, isCus, extendUid = node.ParentUser.LevelWeight, node.ParentUser.Lv, 0, nil, 0, node.ParentUser.Profit, node.ParentUser.ProfitList, isCus, extendUid
} else {
if node.ParentUser.Lv > 2 && maxLvData != nil {
node.ParentUser.LevelWeight = maxLvData.LevelWeight


Loading…
Cancel
Save