From 72fdccd147d416cd27c3374b25cb2f5896d86b6f Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期三, 26 三月 2025 11:35:19 +0800
Subject: [PATCH] 优化通信
---
项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_ISystemServices/ISys_UserService.cs | 44 ++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 42 insertions(+), 2 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 88ee7fc..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;
@@ -19,7 +22,44 @@
WebResponseContent ModifyPwd(string oldPwd, string newPwd);
- //缁欏墠绔繑鍥炵敤鎴疯〃锛屾洿鍏穒d鐨勪笉鍚屽尯鍒嗙被鍒�2=璐ㄦ缁勶紝3=鐢垫皵缁勶紝4=鏈烘锛�5=鍦版矡
+ /// <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