515fceeb
“wangming”
框架初始化
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Services;
using Yi.Framework.Rbac.Application.Contracts.Dtos.FileManager;
namespace Yi.Framework.Rbac.Application.Contracts.IServices
{
public interface IFileService : IApplicationService
{
/// <summary>
/// 下载文件,支持缩略图
/// </summary>
/// <returns></returns>
Task<IActionResult> Get([FromRoute] Guid code, [FromRoute] bool? isThumbnail);
/// <summary>
/// 上传文件
/// </summary>
/// <returns></returns>
Task<List<FileGetListOutputDto>> Post([FromForm] IFormFileCollection file);
}
}
|