using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseController; using WIDESEAWCS_DTO.Telescopic; using WIDESEAWCS_ITelescopicService; using WIDESEAWCS_IWMSPart; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_Server.Controllers.Telescopic { [Route("api/[controller]")] [ApiController] public class LoginhsyController : ApiBaseController { public LoginhsyController(ILoginhsyService service) : base(service) { } /// /// 登入记录 /// /// [HttpPost, Route("LoginRecord"),AllowAnonymous] public WebResponseContent LoginRecord([FromBody]PaginationDTO pagination) { return Service.LoginRecord(pagination); } /// /// 给推出时间 /// /// /// [HttpPost, Route("OutLoginTime"), AllowAnonymous] public WebResponseContent OutLoginTime(string account) { return Service.OutLoginTime(account); } } }