using BililiveRecorder.Web.Models; using Microsoft.AspNetCore.Mvc; namespace BililiveRecorder.Web.Api { [ApiController, Route("api/[controller]", Name = "[controller] [action]")] public sealed class VersionController : ControllerBase { /// /// 读取软件版本信息 /// /// [HttpGet] public RecorderVersion GetVersion() => RecorderVersion.Instance; } }