🎉 Setup Pass frontend project

This commit is contained in:
2025-07-16 01:53:00 +08:00
parent 5549051ec5
commit cd4af2e26f
51 changed files with 6033 additions and 411 deletions

View File

@@ -0,0 +1,20 @@
using Microsoft.AspNetCore.Mvc;
using DysonNetwork.Shared.Data;
namespace DysonNetwork.Pass;
[ApiController]
[Route("/api/version")]
public class VersionController : ControllerBase
{
[HttpGet]
public IActionResult Get()
{
return Ok(new AppVersion
{
Version = ThisAssembly.AssemblyVersion,
Commit = ThisAssembly.GitCommitId,
UpdateDate = ThisAssembly.GitCommitDate
});
}
}