111
yanjinhui
2025-03-28 9f0add00d40fc00e039b92b2fb3469394b1a24f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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_Core;
using WIDESEAWCS_Core.BaseServices;
using WIDESEAWCS_DTO.SerialPort;
using WIDESEAWCS_Model;
using WIDESEAWCS_Model.Models;
 
namespace WIDESEAWCS_ISystemServices
{
    public interface ISys_UserService : IService<Sys_User>
    {
        WebResponseContent Login(LoginInfo loginInfo);
 
        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);
    }
}