using Entity.Base; using Entity.DbModel.System; using Entity.Dto.Req; using HybirdFrameworkCore.Entity; using Microsoft.AspNetCore.Mvc; using Service.System.SysLog; namespace WebStarter.Controllers.System.SysLog { [Produces("application/json")] [ApiController] public class SysLogOpController { private readonly SysLogOpService _sysLogOpService; public SysLogOpController(SysLogOpService sysLogOpService) { _sysLogOpService = sysLogOpService; } [HttpPost] [Route("api/sysLogOp/page")] public async Task> LogOpPage(PageLogReq input) { return await _sysLogOpService.Page(input); } [HttpPost] [Route("/api/sysLogOp/export")] public async Task ExportLogOp(LogReq input) { return await _sysLogOpService.ExportLogOp(input); } [HttpGet] [Route("/api/sysLogOp/clear")] public async Task LogOpClear() { return await _sysLogOpService.Clear(); } } }