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 } }