DysonNetwork.Pass service frontend

This commit is contained in:
2025-07-24 22:23:40 +08:00
parent 5a24c31d43
commit 460f321bd1
15 changed files with 623 additions and 98 deletions

View File

@@ -0,0 +1,18 @@
using Microsoft.AspNetCore.Mvc;
namespace DysonNetwork.Pass.Auth;
[ApiController]
[Route("/api/captcha")]
public class CaptchaController(IConfiguration configuration) : ControllerBase
{
[HttpGet]
public IActionResult GetConfiguration()
{
return Ok(new
{
provider = configuration["Captcha:Provider"],
apiKey = configuration["Captcha:ApiKey"],
});
}
}