Browse Source

test

tags/v1.1.5
huangjiajun 1 year ago
parent
commit
e93e1c892b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      svc/svc_day_luck_draw_reward.go

+ 1
- 1
svc/svc_day_luck_draw_reward.go View File

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


Loading…
Cancel
Save