From aff4682096596e3ce3b788de881854387a5fc3de Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Thu, 11 Apr 2024 17:51:41 +0800 Subject: [PATCH] fix proto --- api/proto/zonemoment/proto/moment_vo_api.go | 1 + api/proto/zonemoment/proto/zonemoment_api.go | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/proto/zonemoment/proto/moment_vo_api.go b/api/proto/zonemoment/proto/moment_vo_api.go index 39fdc35d..cecfc810 100644 --- a/api/proto/zonemoment/proto/moment_vo_api.go +++ b/api/proto/zonemoment/proto/moment_vo_api.go @@ -14,6 +14,7 @@ type ApiZoneMomentVO struct { IsSuperfanshipUnlocked int64 `json:"is_superfanship_unlocked"` IsZoneMomentUnlocked int64 `json:"is_zone_moment_unlocked"` Expenditure int64 `json:"expenditure"` + BuyerCnt int64 `json:"buyer_cnt"` // 动态购买人数 } func (vo *ApiZoneMomentVO) CopyZoneMoment(zonemoment *dbstruct.ZoneMoment) { diff --git a/api/proto/zonemoment/proto/zonemoment_api.go b/api/proto/zonemoment/proto/zonemoment_api.go index 4a6adcf1..67b3052f 100644 --- a/api/proto/zonemoment/proto/zonemoment_api.go +++ b/api/proto/zonemoment/proto/zonemoment_api.go @@ -105,10 +105,9 @@ type ApiListByZidReq struct { } type ApiListByZidData struct { - List []*ApiZoneMomentVO `json:"list"` - Offset int `json:"offset"` - More int `json:"more"` - BuyerCnt int `json:"buyer_cnt"` // 购买人数 + List []*ApiZoneMomentVO `json:"list"` + Offset int `json:"offset"` + More int `json:"more"` } type ApiListByZidResp struct {