添加项目文件。

This commit is contained in:
2025-02-25 22:28:49 +08:00
parent 07e26cc93e
commit 1a7bdb585a
32 changed files with 1601 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using Microsoft.AspNetCore.Mvc;
namespace MegghysAPI.Controllers
{
[Route("api/public")]
[ApiController]
public class PublicController : MControllerBase
{
[Route("header")]
public IActionResult Header()
{
return Ok(string.Join(",", context.Request.Headers.Keys));
}
}
}