22 lines
495 B
C#
22 lines
495 B
C#
using Dlhis.Common.Request;
|
|
|
|
namespace Dlhis.Common.FileOperation.Services;
|
|
|
|
public interface IMinioService : ISingletonDependency
|
|
{
|
|
Task<string> MinloUploadFileAsync(ApkRequest request);
|
|
|
|
Task<string> MinloDownloadLinkAsync(string fileName);
|
|
|
|
Task MinloRemoveFileAsync(string fileName);
|
|
|
|
|
|
|
|
Task<bool> ExistsBucketAsync(string bucket);
|
|
|
|
Task<bool> ExistsFileAsync(string bucket, string objectName);
|
|
|
|
Task<string> UploadFileAsync(string bucket, IFormFile formFile);
|
|
|
|
}
|