using DS.Module.Core; using DS.WMS.Core.System.Dtos; using DS.WMS.Core.System.Interface; using Microsoft.AspNetCore.Mvc; namespace DS.WMS.AdminApi.Controllers; /// /// 审计日志模块 /// public class LogAuditController : ApiController { private readonly ILogAuditService _invokeService; /// /// 构造函数 /// /// public LogAuditController(ILogAuditService invokeService) { _invokeService = invokeService; } /// /// 列表 /// /// /// [HttpPost] [Route("GetAuditLogList")] public DataResult> GetAuditLogList([FromBody] PageRequest request) { var res = _invokeService.GetAuditLogList(request); return res; } /// /// 详情 /// /// /// [HttpGet] [Route("GetAuditLogInfo")] public DataResult GetAuditLogInfo([FromQuery] string id) { var res = _invokeService.GetAuditLogInfo(id); return res; } }