You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
using Znyc.CloudCar.Model.Dtos.User;
|
|
using Znyc.CloudCar.Model.Entities;
|
|
using Znyc.CloudCar.Model.ViewModels.ReportsCallBack;
|
|
|
|
namespace Znyc.CloudCar.IServices.User
|
|
{
|
|
public interface IUserService
|
|
{
|
|
/// <summary>
|
|
/// 新增用户
|
|
/// </summary>
|
|
/// <param name="openId"></param>
|
|
/// <param name="unionId"></param>
|
|
/// <returns></returns>
|
|
Task<UserEntity> AddUserAsync(WxUnifyUserAddInput wxUnifyUserAddInput, string openId, string unionId);
|
|
|
|
|
|
/// <summary>
|
|
/// 根据Id获取用户信息
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<UserOutput> GetUserAsync();
|
|
|
|
Task<UserOutput> GetUserByIdAsync(long id);
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 修改用户信息
|
|
/// </summary>
|
|
/// <param name="userUpdateInput"></param>
|
|
/// <returns></returns>
|
|
Task<ResponseOutput> UpdateAsync(UserUpdateInput userUpdateInput);
|
|
|
|
/// <summary>
|
|
/// 获取当前用户信息
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<ResponseOutput> GetUserInfoAsync();
|
|
|
|
}
|
|
}
|
|
|