From 30f18cf601213d16b3cfbbf338d614a0e77ce562 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Thu, 13 Jun 2024 20:54:06 +0800 Subject: [PATCH] fx --- api/proto/zone/proto/zone_vo_api.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/proto/zone/proto/zone_vo_api.go b/api/proto/zone/proto/zone_vo_api.go index 8d87fdd5..29916a5f 100644 --- a/api/proto/zone/proto/zone_vo_api.go +++ b/api/proto/zone/proto/zone_vo_api.go @@ -24,6 +24,7 @@ type ApiZoneVO struct { Expenditure int64 `json:"expenditure"` IsIronfanshipUnlocked int64 `json:"is_ironfanship_unlocked"` IsSuperfanshipUnlocked int64 `json:"is_superfanship_unlocked"` + SuperfanshipValidity string `json:"superfanship_validity"` } func (vo *ApiZoneVO) GetMid() int64 { @@ -66,5 +67,6 @@ func (vo *ApiZoneVO) CopyZoneVas(zv *dbstruct.ZoneVas) { vo.SuperfanshipCoinPrice = zv.GetSuperfanshipCoinPrice() vo.SuperfanshipValidPeriod = zv.SuperfanshipValidPeriod vo.IsSuperfanshipGiveWechat = zv.IsSuperfanshipGiveWechat + vo.SuperfanshipValidity = zv.GetSuperfanshipDurationDesc() } }