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.
|
|
|
|
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="model">创建分享链接请求</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> CreateShareLink(ShareLinkRequestDto model);
|
|
|
|
|
|
|
|
|
|
/// <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="shareKey">链接分享KEY</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<TaskManageOrderResultDto> GetInfo(string shareKey);
|
|
|
|
|
}
|
|
|
|
|
}
|