|
|
|
|
using Myshipping.Core;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 邮件账户配置
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IEmailUserAccountService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 保存邮件账户配置
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="info">邮件账户配置信息</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> Save(EmailUserAccountDto info);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取邮件账户配置表详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="gid">邮件账户配置主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> GetInfo(string gid);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="gIds">邮件账户配置主键数组</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> Delete(string[] gIds);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 邮件账户配置台账查询
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="QuerySearch">邮件账户配置台账查询请求</param>
|
|
|
|
|
/// <returns>返回结果</returns>
|
|
|
|
|
Task<SqlSugarPagedList<EmailUserAccountPageDto>> GetPageAsync(QueryEmailUserAccountDto QuerySearch);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 检索邮件解析配置
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="queryItem">检索条件</param>
|
|
|
|
|
/// <param name="topNum">返回记录最大条数(可以根据需要自助设定)</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> QueryEmailParserConfigList(string queryItem, int topNum = 10);
|
|
|
|
|
}
|
|
|
|
|
}
|