2026-06-03 16:09:56 +08:00
|
|
|
using QYZH.InteractiveMagazine.Models.Dto;
|
2026-06-08 16:57:44 +08:00
|
|
|
using QYZH.InteractiveMagazine.Models.Dto.Points;
|
2026-06-03 16:09:56 +08:00
|
|
|
using QYZH.InteractiveMagazine.Models.Entity;
|
|
|
|
|
|
|
|
|
|
namespace QYZH.InteractiveMagazine.IService;
|
|
|
|
|
|
|
|
|
|
public interface IUsersService : IBaseService<Users>
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分页查询用户列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<BaseResponse<PageListModel<UsersOutput>>> GetListAsync(UsersQueryInput input);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
/// 获取用户详情(包含积分记录、签到记录、补偿任务、期刊列表)
|
2026-06-03 16:09:56 +08:00
|
|
|
/// </summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
Task<BaseResponse<UserDetailOutput>> GetDetailAsync(long id);
|
2026-06-03 16:09:56 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新用户状态
|
|
|
|
|
/// </summary>
|
2026-06-09 11:41:28 +08:00
|
|
|
Task<BaseResponse> UpdateStatusAsync(long id);
|
2026-06-08 16:57:44 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 手动增加用户积分
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<ManualPointsOutput> ManualAddPointsAsync(long userId, ManualAddPointsInput input, long operatorId, string operatorName, string? ipAddress = null);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 手动扣除用户积分
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<ManualPointsOutput> ManualDeductPointsAsync(long userId, ManualDeductPointsInput input, long operatorId, string operatorName, string? ipAddress = null);
|
2026-06-03 16:09:56 +08:00
|
|
|
}
|