yanjinhui
2025-05-29 1e414dac65915133e5474b6f811fd782be36a17f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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<ILoginhsyService, Dt_Loginhsy>
    {
        public LoginhsyController(ILoginhsyService service) : base(service)
        {
        }
 
 
        /// <summary>
        /// 登入记录
        /// </summary>
        /// <returns></returns>
        [HttpPost, Route("LoginRecord")]
        public WebResponseContent LoginRecord([FromBody]PaginationDTO pagination)
        {
            return Service.LoginRecord(pagination);
        }
 
        /// <summary>
        /// 给推出时间
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        [HttpPost, Route("OutLoginTime")]
        public WebResponseContent OutLoginTime(string account)
        {
            return Service.OutLoginTime(account);
        }
 
    }
}