This commit is contained in:
lwl0608 2024-08-26 14:43:57 +08:00
parent b78a44d341
commit dfa425b64d
1 changed files with 1 additions and 1 deletions

View File

@ -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