Merge branch 'dev-lwl/unlock_opt' into test

This commit is contained in:
lwl0608 2024-10-24 20:25:39 +08:00
commit 5ab1402ca2
1 changed files with 19 additions and 17 deletions

View File

@ -25,6 +25,7 @@ type ApiZoneVO struct {
IsIronfanshipUnlocked int64 `json:"is_ironfanship_unlocked"`
IsSuperfanshipUnlocked int64 `json:"is_superfanship_unlocked"`
SuperfanshipValidity string `json:"superfanship_validity"`
SuperfanPriceList []dbstruct.SuperfanPriceItem `json:"superfan_price_list"`
}
func (vo *ApiZoneVO) GetMid() int64 {
@ -68,5 +69,6 @@ func (vo *ApiZoneVO) CopyZoneVas(zv *dbstruct.ZoneVas) {
vo.SuperfanshipValidPeriod = zv.SuperfanshipValidPeriod
vo.IsSuperfanshipGiveWechat = zv.IsSuperfanshipGiveWechat
vo.SuperfanshipValidity = zv.GetSuperfanshipDurationDesc()
vo.SuperfanPriceList = zv.SuperfanPriceList
}
}