From b8510ca5d1e56ef78cd27c45b6bd65a2c13f6b27 Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期一, 17 三月 2025 15:12:34 +0800 Subject: [PATCH] 代码优化 --- 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_ISystemServices/ISys_UserService.cs | 27 ++++++++++++++++++++++++++- 1 files changed, 26 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..ff85fd1 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; @@ -18,5 +20,28 @@ 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="files"></param> + /// <returns></returns> + WebResponseContent UploaDavatar(List<IFormFile> files, int userId); + } } -- Gitblit v1.9.3