using Entity.Base; using Entity.DbModel.System.SysBaseObject; using Entity.Dto.Req; using Microsoft.AspNetCore.Mvc; using Service.System.SysLog; namespace WebStarter.Controllers.System.SysLog { [Produces("application/json")] [ApiController] public class SysLogDiffController { private readonly SysLogDiffService _sysLogDiffService; public SysLogDiffController(SysLogDiffService sysLogDiffService) { _sysLogDiffService = sysLogDiffService; } [HttpPost] [Route("api/sysLogDiff/page")] public async Task> LogDiffPage(PageLogReq input) { return await _sysLogDiffService.Page(input); } [HttpGet] [Route("/api/sysLogDiff/clear")] public async Task LogDiffClear() { return await _sysLogDiffService.Clear(); } } }