52 lines
1.4 KiB
C#
52 lines
1.4 KiB
C#
using LiveForum.Code.Base;
|
|
using LiveForum.Model.Dto.Base;
|
|
using LiveForum.Model.Dto.Users;
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace LiveForum.IService.Users
|
|
{
|
|
/// <summary>
|
|
/// 用户信息
|
|
/// </summary>
|
|
public interface IUsersInfoService
|
|
{
|
|
/// <summary>
|
|
/// 获取用户信息
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<BaseResponse<GetUserInfoRespDto>> GetUserInfo();
|
|
|
|
/// <summary>
|
|
/// 修改用户信息
|
|
/// </summary>
|
|
/// <param name="updateUserReq"></param>
|
|
/// <returns></returns>
|
|
Task<BaseResponseBool> UpdateUserInfo(UpdateUserInfoReq updateUserReq);
|
|
|
|
/// <summary>
|
|
/// 获取用户等级列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<BaseResponseList<GetUserLevelsRespDto>> GetUserLevels();
|
|
|
|
/// <summary>
|
|
/// 提交认证申请
|
|
/// </summary>
|
|
/// <param name="userCertifications"></param>
|
|
/// <returns></returns>
|
|
Task<BaseResponseBool> Certifications(UserCertificationsReq userCertifications);
|
|
|
|
/// <summary>
|
|
/// 获取用户认证记录
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<BaseResponseList<UserCertificationsReq>> GetUserCertifications(BaseRequestPage page);
|
|
|
|
}
|
|
}
|