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
978 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 SysLogDiffController
{
private readonly SysLogDiffService _sysLogDiffService;
public SysLogDiffController(SysLogDiffService sysLogDiffService)
{
_sysLogDiffService = sysLogDiffService;
}
[HttpPost]
[Route("api/sysLogDiff/page")]
7 months ago
public async Task<Result<PageResult<SysLogDiff>>> LogDiffPage(PageLogReq input)
7 months ago
{
7 months ago
return Result<PageResult<SysLogDiff>>.Success(await _sysLogDiffService.Page(input));
7 months ago
}
[HttpGet]
[Route("/api/sysLogDiff/clear")]
public async Task<bool> LogDiffClear()
{
return await _sysLogDiffService.Clear();
}
}
}