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