You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
902 B

7 months ago

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 SysLogVisController
{
private readonly SysLogVisService _sysLogVisService;
public SysLogVisController(SysLogVisService sysLogVisService)
{
_sysLogVisService = sysLogVisService;
}
[HttpGet]
[Route("/api/sysLogVis/clear")]
public async Task<bool> LogVisClear()
{
return await _sysLogVisService.Clear();
}
[HttpPost]
[Route("api/sysLogVis/page")]
public async Task<SqlSugarPagedList<SysLogVis>> LogVisPage(PageLogReq input)
{
return await _sysLogVisService.Page(input);
}
}
}