From 748db61aa8064783f33cc23e3648a809877f6a3e Mon Sep 17 00:00:00 2001 From: dengbiao Date: Thu, 12 Dec 2024 17:40:23 +0800 Subject: [PATCH] update --- rule/egg_energy/give_activty_coin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/egg_energy/give_activty_coin.go b/rule/egg_energy/give_activty_coin.go index 094e046..36684f0 100644 --- a/rule/egg_energy/give_activty_coin.go +++ b/rule/egg_energy/give_activty_coin.go @@ -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) } }