From 9f0add00d40fc00e039b92b2fb3469394b1a24f5 Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期五, 28 三月 2025 14:28:59 +0800 Subject: [PATCH] 111 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/LoginhsyController.cs | 28 +++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 1 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/LoginhsyController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/LoginhsyController.cs" index ae32725..1879f10 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/LoginhsyController.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/LoginhsyController.cs" @@ -1,6 +1,9 @@ -锘縰sing Microsoft.AspNetCore.Http; +锘縰sing 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; @@ -14,5 +17,28 @@ public LoginhsyController(ILoginhsyService service) : base(service) { } + + + /// <summary> + /// 鐧诲叆璁板綍 + /// </summary> + /// <returns></returns> + [HttpPost, Route("LoginRecord"),AllowAnonymous] + public WebResponseContent LoginRecord([FromBody]PaginationDTO pagination) + { + return Service.LoginRecord(pagination); + } + + /// <summary> + /// 缁欐帹鍑烘椂闂� + /// </summary> + /// <param name="id"></param> + /// <returns></returns> + [HttpPost, Route("OutLoginTime"), AllowAnonymous] + public WebResponseContent OutLoginTime(int id) + { + return Service.OutLoginTime(id); + } + } } -- Gitblit v1.9.3