Merge branch 'dev-lwl/fix' into test

This commit is contained in:
lwl0608 2024-05-06 18:02:13 +08:00
commit 79e80ac082
1 changed files with 3 additions and 1 deletions

View File

@ -2825,7 +2825,9 @@ func (s *Service) ApiGetZoneMomentListByZid(ctx *gin.Context, req *zonemomentpro
zoneZidMap[zone.GetId()] = zone
}
if zoneZidMap[util.DerefInt64(req.Zid)] == nil {
if zidZuMap[util.DerefInt64(req.Zid)] == nil {
if IsZoneVIP(req.BaseRequest.Mid) {
logger.Info("_ZoneVIP moment mid: %v, zid: %v", req.BaseRequest.Mid, req.Zid)
} else if zidZuMap[util.DerefInt64(req.Zid)] == nil {
logger.Error("Visitor has not unlocked this zone, req: %v, err: %v", util.ToJson(req), err)
ec = errcode.ErrCodeUnlockedZone
return