From 44d9325e545b2fd434cd63c222e48574f9a153d4 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Wed, 3 Apr 2024 06:34:28 +0800 Subject: [PATCH] by Robin at 20240403; --- app/mix/service/utilservice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mix/service/utilservice.go b/app/mix/service/utilservice.go index f2547324..9e035b53 100644 --- a/app/mix/service/utilservice.go +++ b/app/mix/service/utilservice.go @@ -987,7 +987,7 @@ func (s *Service) utilEncryptInaccessibleZoneMoment(vo *zonemomentproto.ApiZoneM // 填充动态是否解锁 func (s *Service) utilFillIsZoneMomentUnlocked(vo *zonemomentproto.ApiZoneMomentVO) { - switch util.DerefInt64(vo.ZoneMoment.Status) { + switch util.DerefInt64(vo.ZoneMoment.CType) { case consts.ZoneMomentCType_Free: vo.SetIsZoneMomentUnlocked(consts.IsZoneMomentUnlocked_Yes) case consts.ZoneMomentCType_Paid: