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