为各服务接口补 /// 中文注释:swagger 恢复中文说明(admin 203 / user 93 / customer 12 / fishgame 4)
This commit is contained in:
@@ -23,6 +23,9 @@ namespace FishGameHost.Controllers
|
||||
public string WebSocketUrl { get; set; } = "";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 快速加入 - 根据游戏类型和等级查找一个不满员的房间,直接返回 WS 地址和 roomId
|
||||
/// </summary>
|
||||
[HttpGet("QuickJoin")]
|
||||
public BaseResponse<QuickJoinResult> QuickJoin(int gameType, int level)
|
||||
{
|
||||
@@ -54,6 +57,9 @@ namespace FishGameHost.Controllers
|
||||
return instances[0];
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分配房间到目标游戏服务器 - 返回指定房间对应的对局服务 WS 地址
|
||||
/// </summary>
|
||||
[HttpGet("Assign")]
|
||||
public BaseResponse<string> AssignRoom(string roomId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user