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 SysLogExController { private readonly SysLogExService _sysLogExService; public SysLogExController(SysLogExService sysLogExService) { _sysLogExService = sysLogExService; } [HttpPost] [Route("api/sysLogEx/page")] public async Task> LogExPage(PageLogReq input) { return await _sysLogExService.Page(input); } [HttpPost] [Route("/api/sysLogEx/export")] public async Task ExportLogEx(LogReq input) { return await _sysLogExService.ExportLogEx(input); } [HttpGet] [Route("/api/sysLogEx/clear")] public async Task LogExClear() { return await _sysLogExService.Clear(); } } }