Feature:Asynchronous Operation & Formatting Code

- Now the async operation is enabled!
- Code formatted by Resharper plugin <3
This commit is contained in:
Somebody
2024-07-22 17:12:03 +08:00
parent e983375620
commit 87d228eb79
793 changed files with 34764 additions and 40190 deletions

View File

@@ -1,13 +1,15 @@
using EggLink.DanhengServer.WebServer.Handler;
using Microsoft.AspNetCore.Mvc;
namespace EggLink.DanhengServer.WebServer.Controllers
namespace EggLink.DanhengServer.WebServer.Controllers;
[ApiController]
[Route("/")]
public class GateServerRoutes
{
[ApiController]
[Route("/")]
public class GateServerRoutes
[HttpGet("/query_gateway")]
public string QueryGateway()
{
[HttpGet("/query_gateway")]
public string QueryGateway() => new QueryGatewayHandler().Data;
return new QueryGatewayHandler().Data;
}
}
}