using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEA_Core;
|
using WIDESEA_Core.BaseController;
|
using WIDESEA_ISystemService;
|
using WIDESEA_Model.Models;
|
|
namespace WIDESEA_WMSServer.Controllers
|
{
|
/// <summary>
|
/// 日志
|
/// </summary>
|
[Route("api/Sys_Log")]
|
[ApiController]
|
public class Sys_LogController : ApiBaseController<ISys_LogService, Sys_Log>
|
{
|
public Sys_LogController(ISys_LogService service) : base(service)
|
{
|
}
|
|
[HttpPost, Route("GetLogList"), AllowAnonymous]
|
public WebResponseContent GetLogList()
|
{
|
return Service.GetLogList();
|
}
|
|
[HttpPost, Route("GetLogData"), AllowAnonymous]
|
public WebResponseContent GetLogData([FromBody] GetLogParm parm)
|
{
|
return Service.GetLogData(parm);
|
}
|
}
|
}
|