using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Common; using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_DTO.SerialPort; using WIDESEAWCS_DTO.Telescopic; using WIDESEAWCS_Model; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_ISystemServices { public interface ISys_UserService : IService { WebResponseContent Login(LoginInfo loginInfo); WebResponseContent GetCurrentUserInfo(); WebResponseContent ModifyPwd(string oldPwd, string newPwd); /// /// 给前端返回用户表,更具id的不同区分类别2=质检组,3=电气组,4=机械,5=地沟 /// /// WebResponseContent GetUerType(); /// /// 根据用户来决定查看当前作业的权限 /// /// /// WebResponseContent PermissionView(int userId, string group); /// /// 更新密码 /// /// /// /// /// WebResponseContent UpdatePwd(int id, string oldPwd, string newPwd); /// /// /// /// /// WebResponseContent SaveFiles(IFormCollection files); /// /// 更新用户基础信息 /// /// /// WebResponseContent Upuserbase(UserDTO userDTO); /// /// 人脸识别 /// /// /// WebResponseContent GetUserFace(PaginationDTO paginationDTO); /// /// 添加用户 /// /// /// WebResponseContent AdduserData(AddUserDTO addUserDTO); WebResponseContent UpuserData(AddUserDTO addUserDTO); WebResponseContent DeleteUserData(string userAccount); /// /// 清理数据库中没有使用的图片 /// /// WebResponseContent CleanUnusedImages(); WebResponseContent SaveFaceFiles(IFormCollection files); } }