Files
QYZH.InteractiveMagazine/QYZH.InteractiveMagazine.IService/IWxUserService.cs

34 lines
871 B
C#
Raw Normal View History

using QYZH.InteractiveMagazine.IService.Dto;
using QYZH.InteractiveMagazine.Models.Dto;
using QYZH.InteractiveMagazine.Models.Entity;
namespace QYZH.InteractiveMagazine.IService;
public interface IWxUserService : IBaseService<WxUser>
{
/// <summary>
/// 创建微信用户
/// </summary>
Task<WxUserOutput> CreateAsync(WxUserInput input);
/// <summary>
/// 更新微信用户
/// </summary>
Task<WxUserOutput> UpdateAsync(long id, WxUserInput input);
/// <summary>
/// 删除微信用户(软删除)
/// </summary>
Task DeleteAsync(long id);
/// <summary>
/// 根据ID获取微信用户
/// </summary>
Task<WxUserOutput> GetByIdAsync(long id);
/// <summary>
/// 分页查询微信用户列表
/// </summary>
Task<PageListModel<WxUserOutput>> GetListAsync(WxUserQueryInput input);
}