mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
Feature:Asynchronous Operation & Formatting Code
- Now the async operation is enabled! - Code formatted by Resharper plugin <3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user