can login

This commit is contained in:
Kei-Luna
2026-04-20 14:52:37 +09:00
parent 279da58dc1
commit fbacecb130

View File

@@ -155,7 +155,7 @@ public class RouteController : ControllerBase
playerFillAgeUrl = "",
status = 0,
thirdPartyUid = "",
finalToken,
token = finalToken,
type = "google",
uid = finalUid
},
@@ -210,15 +210,25 @@ public class RouteController : ControllerBase
[HttpGet("/query")]
public IActionResult GetQuery([FromQuery] string? version, [FromQuery] string? platform)
{
object rsp = new
var servers = new[]
{
platform,
version,
host = Config.GameServer.PublicAddress,
port = Config.GameServer.Port
new
{
id = 1,
server_id = 1,
name = Config.GameServer.GameServerName,
title = Config.GameServer.GameServerName,
host = Config.GameServer.PublicAddress,
ip = Config.GameServer.PublicAddress,
port = Config.GameServer.Port,
status = 1,
state = 1,
is_open = true,
open = true,
recommend = true
}
};
return Ok(rsp);
return Ok(servers);
}
[HttpGet("/query_version={version}")]