From c846eaf61febfeba340213ee2d692182ea0ccb90 Mon Sep 17 00:00:00 2001
From: wbc <2597324127@qq.com>
Date: 星期四, 29 五月 2025 18:40:53 +0800
Subject: [PATCH] 11

---
 MESApplication/Controllers/Base/LoginController.cs |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/MESApplication/Controllers/Base/LoginController.cs b/MESApplication/Controllers/Base/LoginController.cs
index 58de874..552fa75 100644
--- a/MESApplication/Controllers/Base/LoginController.cs
+++ b/MESApplication/Controllers/Base/LoginController.cs
@@ -3,14 +3,23 @@
 using MES.Service.service;
 using MES.Service.util;
 using Microsoft.AspNetCore.Mvc;
+using Newtonsoft.Json;
 using Newtonsoft.Json.Linq;
 
 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 +43,11 @@
         }
     }
 
+    /// <summary>
+    ///     閲嶈瀵嗙爜
+    /// </summary>
+    /// <param name="data"></param>
+    /// <returns></returns>
     [HttpPost("resetPassword")]
     public ResponseResult resetPassword([FromBody] JObject data)
     {
@@ -66,7 +80,11 @@
         }
     }
 
-
+    /// <summary>
+    ///     鐢ㄦ埛鑿滃崟
+    /// </summary>
+    /// <param name="data"></param>
+    /// <returns></returns>
     [HttpPost("getUserMenu")]
     public ResponseResult getUserMenu([FromBody] JObject data)
     {
@@ -88,4 +106,5 @@
             return ResponseResult.ResponseError(ex);
         }
     }
+
 }
\ No newline at end of file

--
Gitblit v1.9.3