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

7 months ago

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