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