diff --git a/api/proto/zonemoment/proto/zonemoment_vo_api.go b/api/proto/zonemoment/proto/zonemoment_vo_api.go index 1c2ce17d..9f5afae6 100644 --- a/api/proto/zonemoment/proto/zonemoment_vo_api.go +++ b/api/proto/zonemoment/proto/zonemoment_vo_api.go @@ -16,6 +16,7 @@ type ApiZoneMomentVO struct { Expenditure int64 `json:"expenditure"` IronfanshipPrice int64 `json:"ironfanship_price"` BuyerCnt int64 `json:"buyer_cnt"` // 动态购买人数 + IsSuperfanshipEnabled int64 `json:"is_superfanship_enabled"` } func (vo *ApiZoneMomentVO) CopyZoneMoment(zonemoment *dbstruct.ZoneMoment) { diff --git a/app/mix/service/utilservice.go b/app/mix/service/utilservice.go index 26ca30e1..6c4babb8 100644 --- a/app/mix/service/utilservice.go +++ b/app/mix/service/utilservice.go @@ -1722,6 +1722,7 @@ func (s *Service) utilFillZoneMomentsWithApiVOInfo(ctx *gin.Context, list []*dbs // 铁粉价格 if zv, ok := zvMap[zid]; ok { vo.IronfanshipPrice = zv.IronfanshipPrice + vo.IsSuperfanshipEnabled = int64(zv.IsSuperfanshipEnabled) } }