using Entity.Base; using Entity.DbModel.System; using Entity.Dto.Req; using Microsoft.AspNetCore.Mvc; using Service.System.SysLog; namespace WebStarter.Controllers.System.SysLog { [Produces("application/json")] [ApiController] public class SysLogVisController { private readonly SysLogVisService _sysLogVisService; public SysLogVisController(SysLogVisService sysLogVisService) { _sysLogVisService = sysLogVisService; } [HttpGet] [Route("/api/sysLogVis/clear")] public async Task LogVisClear() { return await _sysLogVisService.Clear(); } [HttpPost] [Route("api/sysLogVis/page")] public async Task> LogVisPage(PageLogReq input) { return await _sysLogVisService.Page(input); } } }