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