From 72011a8829f1341f2d552f476ac5bb0047291858 Mon Sep 17 00:00:00 2001 From: mofangmin Date: Wed, 21 Aug 2024 16:45:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E7=9B=98=E6=B4=BB=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/activity.go | 1 + modules/web/handler/activity.go | 1 + 2 files changed, 2 insertions(+) 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 {