by Robin at 20240403;
This commit is contained in:
parent
1650066959
commit
44d9325e54
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue