diff --git a/common/activity.go b/common/activity.go index a3aaaa7..692e521 100644 --- a/common/activity.go +++ b/common/activity.go @@ -500,6 +500,7 @@ type LuckyData struct { LastSpinTime int64 SpinNum int NextSpinTIme int64 + Type int } type SpinInfo map[int]*LuckyData diff --git a/modules/web/handler/activity.go b/modules/web/handler/activity.go index b68cf3b..78fbc4d 100644 --- a/modules/web/handler/activity.go +++ b/modules/web/handler/activity.go @@ -1891,6 +1891,7 @@ func ActivityBetDrawInfo(c *gin.Context) { resp.SpinInfo = append(resp.SpinInfo, &common.LuckyData{ SpinNum: spinInfo.SpinNum, NextSpinTIme: spinInfo.NextSpinTIme, + Type: typ, }) } if update && a.UID > 0 {