You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.6 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Code.Dtos;
namespace DS.WMS.Core.Code.Interface;
/// <summary>
/// 用户邮箱
/// </summary>
public interface IUserEmailService
{
/// <summary>
/// 导入
/// </summary>
/// <param name="list"></param>
/// <returns></returns>
Task<DataResult> ImportAsync(List<CodeUserEmailReq> list);
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<CodeUserEmailRes>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult EditUserEmail(CodeUserEmailReq model);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<CodeUserEmailRes> GetUserEmailInfo(string id);
/// <summary>
/// 删除
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult DelUserEmail(string id);
/// <summary>
/// 批量删除
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult BatchDelUserEmail(IdModel req);
/// <summary>
/// 获取用户邮箱配置
/// </summary>
/// <returns></returns>
public Task<DataResult<CodeUserEmailRes>> GetUserEmailSetInfo();
/// <summary>
/// 获取邮箱配置
/// </summary>
/// <returns></returns>
Task<DataResult<CodeUserEmailRes>> GetEmailSettings(string ShowName = "");
}