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.

36 lines
962 B

5 months ago

using Entity.Base;
using Entity.DbModel.System;
5 months ago
using Entity.Dto.Req;
using HybirdFrameworkCore.Entity;
5 months ago
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")]
5 months ago
public async Task<Result<PageResult<SysLogVis>>> LogVisPage(PageLogReq input)
5 months ago
{
5 months ago
return Result<PageResult<SysLogVis>>.Success(await _sysLogVisService.Page(input));
5 months ago
}
}
}