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