chore: 优化代码

This commit is contained in:
2025-10-25 14:44:49 +08:00
parent a695a21bcb
commit ab8f120366
10 changed files with 4 additions and 48 deletions

View File

@ -1,14 +0,0 @@
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;
namespace KonSoft.Controller
{
public class HomeController : AbpController
{
[HttpGet("health")]
public ActionResult Health()
{
return Ok("online");
}
}
}

View File

@ -19,6 +19,7 @@ public class Program
var app = await ApplicationBuilderHelper
.BuildApplicationAsync<KonSoftAuthServerModule>(args);
await app.InitializeApplicationAsync();
app.MapGet("/heath", () => "Online");
await app.RunAsync();
return 0;