by Robin at 20240403;

This commit is contained in:
Leufolium 2024-04-03 06:34:28 +08:00
parent 1650066959
commit 44d9325e54
1 changed files with 1 additions and 1 deletions

View File

@ -987,7 +987,7 @@ func (s *Service) utilEncryptInaccessibleZoneMoment(vo *zonemomentproto.ApiZoneM
// 填充动态是否解锁 // 填充动态是否解锁
func (s *Service) utilFillIsZoneMomentUnlocked(vo *zonemomentproto.ApiZoneMomentVO) { func (s *Service) utilFillIsZoneMomentUnlocked(vo *zonemomentproto.ApiZoneMomentVO) {
switch util.DerefInt64(vo.ZoneMoment.Status) { switch util.DerefInt64(vo.ZoneMoment.CType) {
case consts.ZoneMomentCType_Free: case consts.ZoneMomentCType_Free:
vo.SetIsZoneMomentUnlocked(consts.IsZoneMomentUnlocked_Yes) vo.SetIsZoneMomentUnlocked(consts.IsZoneMomentUnlocked_Yes)
case consts.ZoneMomentCType_Paid: case consts.ZoneMomentCType_Paid: