From 3612e946bc29d9b354b850fea3d7e49ef914acec Mon Sep 17 00:00:00 2001 From: yangduo Date: Thu, 12 Dec 2024 17:17:57 +0800 Subject: [PATCH] adjust --- server/wheelserver/api/v1/activity/activity.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/wheelserver/api/v1/activity/activity.go b/server/wheelserver/api/v1/activity/activity.go index 483072e6..cb6e8e06 100644 --- a/server/wheelserver/api/v1/activity/activity.go +++ b/server/wheelserver/api/v1/activity/activity.go @@ -73,6 +73,7 @@ func (this *ActivityApi) RollDice(c *gin.Context) { rspObj := struct { vo.BaseVo Point int32 `json:"point"` + AwardGrid int32 `json:"award_grid"` }{} rspObj.Point = int32(1 + rand.Intn(6)) if reqJson.ForwardPoint > 0 { @@ -128,6 +129,7 @@ func (this *ActivityApi) RollDice(c *gin.Context) { } scoreaward = false + rspObj.AwardGrid = 1 } }