19 lines
439 B
C#
19 lines
439 B
C#
|
using Microsoft.AspNetCore.Http;
|
|||
|
using Minio.DataModel.Result;
|
|||
|
|
|||
|
namespace Bunny.Service.IService;
|
|||
|
|
|||
|
public interface IMinioService
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 上传文件
|
|||
|
/// </summary>
|
|||
|
/// <param name="file">文件内容</param>
|
|||
|
void SaveMinioFile(IFormFile? file);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 查询所有的桶
|
|||
|
/// </summary>
|
|||
|
/// <returns>桶列表</returns>
|
|||
|
ListAllMyBucketsResult GetAllMyBuckets();
|
|||
|
}
|