using Nirvana.Common.ApiBase; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using YBDevice.Entity; namespace YBDevice.Application { /// /// 账户管理 /// public interface IAccountService { /// /// 账户登录 /// /// /// Task LoginAsync(LoginModel model); /// /// 重置密码 /// /// 用户ID /// 重置的密码 /// Task RevicePasswordAsync(int id, string pwd); /// /// 修改密码 /// /// /// /// /// Task ChangePwdAsync(string oldpwd, string newpwd, string repwd); /// /// 越权登录 /// /// /// Task UserEnterAsync(int id); /// /// 获取用户资料 /// /// Task GetUserInfo(); } }