From da2e87c2a05debbcc7dac5efb5d13c92d533782f Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期三, 26 三月 2025 08:54:10 +0800
Subject: [PATCH] 111

---
 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs |   47 ++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 46 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs"
index 97d579a..f782394 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs"
@@ -13,6 +13,7 @@
 using WIDESEAWCS_Core.Helper;
 using WIDESEAWCS_Core.HttpContextUser;
 using WIDESEAWCS_Core.Utilities;
+using WIDESEAWCS_DTO.SerialPort;
 using WIDESEAWCS_ISystemServices;
 using WIDESEAWCS_Model;
 using WIDESEAWCS_Model.Models;
@@ -136,8 +137,52 @@
         {
             return Service.GetUerType();
         }
-    }
 
+        [HttpPost, Route("PermissionView"), AllowAnonymous]
+        public WebResponseContent PermissionView(int userId, string group)
+        {
+            return Service.PermissionView(userId,group);
+        }
+
+      
+
+        /// <summary>
+        /// 涓婁紶鍥剧墖鏂囦欢鍚�
+        /// </summary>
+        /// <param name="files"></param>
+        /// <param name="sys_User"></param>
+        /// <returns></returns>
+        [HttpPost, Route("SaveFiles"), AllowAnonymous]
+        public WebResponseContent SaveFiles(IFormCollection files)
+        {
+            return Service.SaveFiles(files);
+          
+           
+        }
+
+        
+
+        /// <summary>
+        /// 淇敼鐢ㄦ埛瀵嗙爜
+        /// </summary>
+        /// <param name="id"></param>
+        /// <param name="oldPwd"></param>
+        /// <param name="newPwd"></param>
+        /// <returns></returns>
+        [HttpPost,Route("UpdatePwd")]
+        public WebResponseContent UpdatePwd(int id, string oldPwd, string newPwd)
+        {
+            return Service.UpdatePwd(id, oldPwd, newPwd);
+        }
+
+
+        [HttpPost,Route("Upuserbase"), AllowAnonymous]
+        public WebResponseContent Upuserbase([FromBody]UserDTO userDTO)
+        {
+            return Service.Upuserbase(userDTO);
+        }
+    }
+       
 
     public class SwaggerLoginRequest
     {

--
Gitblit v1.9.3