Merge branch 'dev_search_zmember' into test
This commit is contained in:
commit
21feca85b8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue