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
903 B

using Entity.Base;
using Entity.DbModel.System;
using Entity.Dto.Req;
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<SqlSugarPagedList<SysLogDiff>> LogDiffPage(PageLogReq input)
{
return await _sysLogDiffService.Page(input);
}
[HttpGet]
[Route("/api/sysLogDiff/clear")]
public async Task<bool> LogDiffClear()
{
return await _sysLogDiffService.Clear();
}
}
}