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.
BookingHeChuan/Myshipping.Application/Service/TaskManagePlat/Interface/ITaskManageShareLinkService.cs

48 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
/// <summary>
/// 任务分享链接服务
/// </summary>
public interface ITaskManageShareLinkService
{
/// <summary>
/// 生成访问链接
/// </summary>
/// <param name="businessId">业务ID</param>
/// <param name="taskType">任务类型</param>
/// <param name="expireDate">失效时间</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> CreateShareLink(string businessId, string taskType, DateTime expireDate);
/// <summary>
/// 取消访问链接
/// </summary>
/// <param name="pkId">访问链接主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> CancelShareLink(string pkId);
/// <summary>
/// 校验成访问链接
/// </summary>
/// <param name="Url">请求链接</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> ValidateShareLink(string Url);
/// <summary>
/// 访问链接
/// </summary>
/// <param name="Url">请求链接</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> QueryShareLink(string Url);
}
}