dengbiao 3 settimane fa
parent
commit
748db61aa8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      rule/egg_energy/give_activty_coin.go

+ 1
- 1
rule/egg_energy/give_activty_coin.go Vedi File

@@ -116,7 +116,7 @@ func SettlementGiveActivityCoin(engine *xorm.Engine, user model.User, ecpm strin
return rewardValue, err1
}
for _, v := range *eggPointPartitionCoefficientManagements { //处理蛋蛋分机制
if egg_system_rules.StrToFloat64(v.StartScore) <= score && egg_system_rules.StrToFloat64(v.EndScore) >= score {
if egg_system_rules.StrToFloat64(v.StartScore) <= score && egg_system_rules.StrToFloat64(v.EndScore) > score {
rewardValue *= egg_system_rules.StrToFloat64(v.Coefficient)
}
}


Caricamento…
Annulla
Salva