From 8b67ee8a1b3e954de07014724f94875815c2783a Mon Sep 17 00:00:00 2001 From: cnf <3200815559@qq.com> Date: 星期二, 25 三月 2025 18:12:22 +0800 Subject: [PATCH] 111 --- MESApplication/Controllers/Base/LoginController.cs | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/MESApplication/Controllers/Base/LoginController.cs b/MESApplication/Controllers/Base/LoginController.cs index 58de874..aede14c 100644 --- a/MESApplication/Controllers/Base/LoginController.cs +++ b/MESApplication/Controllers/Base/LoginController.cs @@ -7,10 +7,18 @@ namespace MESApplication.Controllers.Base; +/// <summary> +/// 鐢ㄦ埛 +/// </summary> [Route("api/[controller]")] [ApiController] public class LoginController : ControllerBase { + /// <summary> + /// 鐧诲綍 + /// </summary> + /// <param name="model"></param> + /// <returns></returns> [HttpPost("login")] public ResponseResult login([FromBody] LoginModel model) { @@ -34,6 +42,11 @@ } } + /// <summary> + /// 閲嶈瀵嗙爜 + /// </summary> + /// <param name="data"></param> + /// <returns></returns> [HttpPost("resetPassword")] public ResponseResult resetPassword([FromBody] JObject data) { @@ -66,7 +79,11 @@ } } - + /// <summary> + /// 鐢ㄦ埛鑿滃崟 + /// </summary> + /// <param name="data"></param> + /// <returns></returns> [HttpPost("getUserMenu")] public ResponseResult getUserMenu([FromBody] JObject data) { -- Gitblit v1.9.3