diff --git a/app/mix/service/vasservice.go b/app/mix/service/vasservice.go index 17507936..69548eb5 100644 --- a/app/mix/service/vasservice.go +++ b/app/mix/service/vasservice.go @@ -1332,7 +1332,7 @@ func (s *Service) SearchZoneMember(ctx *gin.Context, req *vasproto.SearchMemberR // 获取空间解锁信息 zidZuMap, _ := _DefaultVas.GetZoneUnlockMapByMidZids(ctx, memMid, []int64{zid}) zu := zidZuMap[zid] - if zu == nil || zu.IsUnlockAdmission() { + if zu == nil || !zu.IsUnlockAdmission() { err = fmt.Errorf("该用户没有解锁空间") logger.Error("Not unlock admission, mid: %v, zid: %v, zu: %v, err: %v", memMid, zid, util.ToJson(zu), err) return