瀏覽代碼

比例/100

tags/v1.2.1
huangjiajun 1 年之前
父節點
當前提交
f81b35b9c6
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      svc/svc_day_luck_draw_reward.go

+ 1
- 1
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,


Loading…
取消
儲存