Sfoglia il codice sorgente

比例/100

tags/v1.2.1
huangjiajun 1 anno fa
parent
commit
f81b35b9c6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      svc/svc_day_luck_draw_reward.go

+ 1
- 1
svc/svc_day_luck_draw_reward.go Vedi File

@@ -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,


Caricamento…
Annulla
Salva