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