using VberZero.AppService.Attaches.Dto;
namespace VberZero.DomainService.Attaches;
public interface IAttachManager
{
///
/// 查询附件
///
///
///
///
Task GetFile(string codeKey, string sourceKey);
///
/// 查询附件
///
///
///
///
Task> GetFiles(string codeKey, string sourceKey);
///
/// 删除附件
///
///
///
///
Task DeleteFile(string codeKey, string sourceKey);
///
/// 删除附件
///
///
///
Task DeleteFile(int id);
///
/// 上传附件
///
///
///
Task FileUpload(AttachDto input);
///
/// 上传附件
///
///
Task FileUpload(string fileInfo, string filePath, string fileName, string fileExt);
///
/// 上传附件
///
///
Task FileUpload(string fileInfo, string filePath, string fileName, string fileExt, string allowExt, bool checkAll);
}