using Microsoft.AspNetCore.Mvc;
using ZR.Model.Business.Dto;
using ZR.Service.Business.IBusinessService;
namespace ZR.Admin.WebApi.Controllers.Business
{
///
/// 审计日志管理
///
[Route("business/OdfAuditLogs")]
public class OdfAuditLogsController : BaseController
{
///
/// 审计日志接口
///
private readonly IOdfAuditLogsService _OdfAuditLogsService;
public OdfAuditLogsController(IOdfAuditLogsService OdfAuditLogsService)
{
_OdfAuditLogsService = OdfAuditLogsService;
}
///
/// 审计日志列表分页查询
///
///
///
[HttpGet("list")]
[ActionPermissionFilter(Permission = "odfauditlogs:list")]
public IActionResult GetList([FromQuery] OdfAuditLogsQueryDto parm)
{
var response = _OdfAuditLogsService.GetList(parm);
return SUCCESS(response);
}
}
}