|
@@ -29,19 +29,10 @@ namespace ET.Server
|
|
|
|
|
|
session.AddComponent<SessionLockComponent>();
|
|
session.AddComponent<SessionLockComponent>();
|
|
|
|
|
|
-
|
|
|
|
- if (string.IsNullOrEmpty(request.RoomId))
|
|
|
|
- {
|
|
|
|
- Log.Debug($"直播间id为空");
|
|
|
|
- response.Error = ErrorCode.ERR_RoomIdIsNull;
|
|
|
|
- reply();
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
|
|
- string token = request.RoomId;
|
|
+
|
|
|
|
|
|
-
|
|
+
|
|
List<StartSceneConfig> gameList = RealmGateAddressHelper.GetAllGame(session.DomainZone());
|
|
List<StartSceneConfig> gameList = RealmGateAddressHelper.GetAllGame(session.DomainZone());
|
|
|
|
|
|
if (gameList is { Count: > 0 })
|
|
if (gameList is { Count: > 0 })
|
|
@@ -54,7 +45,6 @@ namespace ET.Server
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- response.Token = token;
|
|
|
|
reply();
|
|
reply();
|
|
await ETTask.CompletedTask;
|
|
await ETTask.CompletedTask;
|
|
}
|
|
}
|