|
|
@@ -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) |
|
|
|
} |
|
|
|
} |
|
|
|