11
yanjinhui
2025-03-26 4073bcc6e43f8f72945da396915f32d9d986967c
ÏîÄ¿´úÂë/WIDESEAWCS_Server Õýʽ/WIDESEAWCS_ISystemServices/ISys_UserService.cs
@@ -1,4 +1,6 @@
using Microsoft.AspNetCore.Mvc;
using 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);
        //给前端返回用户表,更具id的不同区分类别2=质检组,3=电气组,4=机械,5=地沟
        /// <summary>
        /// ç»™å‰ç«¯è¿”回用户表,更具id的不同区分类别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);
    }
}