Browse Source

比例/100

tags/v1.2.1
huangjiajun 1 year ago
parent
commit
f81b35b9c6
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

@@ -234,7 +234,7 @@ func SendReward(sess *xorm.Session, uid []string, mid string, period int, sum fl
if bili == 0 { if bili == 0 {
return nil return nil
} }
amount := sum * bili / float64(count)
amount := sum * (bili / 100) / float64(count)
for _, v := range uid { for _, v := range uid {
var req = md.DayLuckDrawRewardReq{ var req = md.DayLuckDrawRewardReq{
Uid: v, Uid: v,


Loading…
Cancel
Save