From cdade79054bddf08239bdbdbbc4d0eafb9497adb Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期五, 11 四月 2025 13:42:53 +0800 Subject: [PATCH] 优化更新人脸识别 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_UserService.cs | 62 ++++++++++++++++++++++++++++++ 1 files changed, 61 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..f337f41 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,63 @@ 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); + + + //浜鸿劯鍒犻櫎锛堝垹闄ょ敤鎴风殑鏌愪竴寮犱汉鑴革紝濡傛灉璇ョ敤鎴峰彧鏈変竴寮犱汉鑴稿浘鐗囷紝鍒欏悓鏃跺垹闄ょ敤鎴枫�傦級 + WebResponseContent DeleteUserIsface(string account); + + + + } } -- Gitblit v1.9.3