Browse Source

更新

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

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

@@ -725,7 +725,7 @@ func getCommissionRatio(typ string, level, peerNum int, grade map[int]*LvGrade)
case "team":
ratio = grade[level].TeamRate
case "same_lv":
if len(grade[level].PeerRate) == 0 {
if len(grade[level].PeerRate) == 0 || len(grade[level].PeerRate) >= peerNum+1 {
ratio = 0
} else {
ratio = grade[level].PeerRate[peerNum]


Loading…
Cancel
Save