Ver código fonte

更新

master
huangjiajun 1 ano atrás
pai
commit
c2781194b3
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      lib/comm_plan/all.go

+ 1
- 1
lib/comm_plan/all.go Ver arquivo

@@ -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 || len(grade[level].PeerRate) >= peerNum+1 {
if len(grade[level].PeerRate) == 0 || len(grade[level].PeerRate) < peerNum+1 {
ratio = 0
} else {
ratio = grade[level].PeerRate[peerNum]


Carregando…
Cancelar
Salvar