diff --git a/svc/svc_day_luck_draw_reward.go b/svc/svc_day_luck_draw_reward.go index bdc1e8a..a2df61a 100644 --- a/svc/svc_day_luck_draw_reward.go +++ b/svc/svc_day_luck_draw_reward.go @@ -318,7 +318,7 @@ func SetAllAwardsProbability(sess *xorm.Session, mid string) error { }(i) } for _, award := range rewardData { - probabilityD, err := decimal.NewFromString(award.Num) + probabilityD, err := decimal.NewFromString(award.Probability) if err != nil { probabilityD = decimal.NewFromInt(0) }