Files
NetAdmin/src/backend/NetAdmin.SysComponent.Application/Services/Sys/Dependency/IUserProfileService.cs
2024-06-24 16:04:28 +08:00

26 lines
743 B
C#

using NetAdmin.Application.Services;
using NetAdmin.Domain.Dto.Sys.UserProfile;
using NetAdmin.SysComponent.Application.Modules.Sys;
namespace NetAdmin.SysComponent.Application.Services.Sys.Dependency;
/// <summary>
/// 用户档案服务
/// </summary>
public interface IUserProfileService : IService, IUserProfileModule
{
/// <summary>
/// 编辑用户档案
/// </summary>
Task<int> EditAsync(EditUserProfileReq req);
/// <summary>
/// 获取当前用户配置
/// </summary>
Task<GetSessionUserAppConfigRsp> GetSessionUserAppConfigAsync();
/// <summary>
/// 设置当前用户配置
/// </summary>
Task<int> SetSessionUserAppConfigAsync(SetSessionUserAppConfigReq req);
}