From 2623a84ddaeb38f5c8c6234a24980302b1ec550b Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期四, 03 四月 2025 17:13:57 +0800 Subject: [PATCH] 添加人脸识别 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_UserService.cs | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 54 insertions(+), 1 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_UserService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_UserService.cs" index c3e720b..288a4a8 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_UserService.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_UserService.cs" @@ -1,4 +1,5 @@ -锘縰sing Microsoft.AspNetCore.Mvc; +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; @@ -6,6 +7,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 +20,56 @@ WebResponseContent GetCurrentUserInfo(); WebResponseContent ModifyPwd(string oldPwd, string newPwd); + + + + /// <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="id"></param> + /// <returns></returns> + WebResponseContent Upuserbase(UserDTO userDTO); + + /// <summary> + /// 涓婁紶鍥剧墖 + /// </summary> + /// <param name="files"></param> + /// <returns></returns> + WebResponseContent SaveFiles(IFormCollection files); + + /// <summary> + /// 娣诲姞鐢ㄦ埛 + /// </summary> + /// <param name="addUserDTO"></param> + /// <returns></returns> + WebResponseContent AdduserData(AddUserDTO addUserDTO); + + WebResponseContent UpuserData(AddUserDTO addUserDTO); + + WebResponseContent DeleteUserData(string userAccount); + + /// <summary> + /// 娓呯悊鏁版嵁搴撲腑娌℃湁浣跨敤鐨勫浘鐗� + /// </summary> + /// <returns></returns> + WebResponseContent CleanUnusedImages(); + + + /// <summary> + /// 淇濆瓨浜鸿劯鐧诲叆鏃剁殑鍥剧墖 + /// </summary> + /// <param name="files"></param> + /// <returns></returns> + WebResponseContent SaveFaceFiles(IFormCollection files); + } } -- Gitblit v1.9.3