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 LogVisitController : ApiController
{
private readonly ILogVisitService _invokeService;
///
/// 构造函数
///
///
public LogVisitController(ILogVisitService invokeService)
{
_invokeService = invokeService;
}
///
/// 列表
///
///
///
[HttpPost]
[Route("GetVisitLogList")]
public DataResult> GetVisitLogList([FromBody] PageRequest request)
{
var res = _invokeService.GetVisitLogList(request);
return res;
}
///
/// 详情
///
///
///
[HttpGet]
[Route("GetVisitLogInfo")]
public DataResult GetVisitLogInfo([FromQuery] string id)
{
var res = _invokeService.GetVisitLogInfo(id);
return res;
}
}