From 4073bcc6e43f8f72945da396915f32d9d986967c Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期三, 26 三月 2025 10:15:51 +0800 Subject: [PATCH] 11 --- 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_ISystemServices/ISys_UserService.cs | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 44 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_ISystemServices/ISys_UserService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_ISystemServices/ISys_UserService.cs" index c3e720b..0c0ac69 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_ISystemServices/ISys_UserService.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_ISystemServices/ISys_UserService.cs" @@ -1,4 +1,6 @@ -锘縰sing Microsoft.AspNetCore.Mvc; +锘縰sing Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; @@ -6,6 +8,7 @@ using System.Threading.Tasks; using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_DTO.SerialPort; using WIDESEAWCS_Model; using WIDESEAWCS_Model.Models; @@ -18,5 +21,45 @@ WebResponseContent GetCurrentUserInfo(); WebResponseContent ModifyPwd(string oldPwd, string newPwd); + + /// <summary> + /// 缁欏墠绔繑鍥炵敤鎴疯〃锛屾洿鍏穒d鐨勪笉鍚屽尯鍒嗙被鍒�2=璐ㄦ缁勶紝3=鐢垫皵缁勶紝4=鏈烘锛�5=鍦版矡 + /// </summary> + /// <returns></returns> + WebResponseContent GetUerType(); + + + /// <summary> + /// 鏍规嵁鐢ㄦ埛鏉ュ喅瀹氭煡鐪嬪綋鍓嶄綔涓氱殑鏉冮檺 + /// </summary> + /// <param name="type"></param> + /// <returns></returns> + WebResponseContent PermissionView(int userId, string group); + + + + + /// <summary> + /// 鏇存柊瀵嗙爜 + /// </summary> + /// <param name="id"></param> + /// <param name="oldPwd"></param> + /// <param name="newPwd"></param> + /// <returns></returns> + WebResponseContent UpdatePwd(int id, string oldPwd, string newPwd); + + /// <summary> + /// + /// </summary> + /// <param name="files"></param> + /// <returns></returns> + WebResponseContent SaveFiles(IFormCollection files); + + /// <summary> + /// 鏇存柊鐢ㄦ埛鍩虹淇℃伅 + /// </summary> + /// <param name="id"></param> + /// <returns></returns> + WebResponseContent Upuserbase(UserDTO userDTO); } } -- Gitblit v1.9.3