优化图片上传新增加可以上传多张图

This commit is contained in:
不做码农
2021-12-09 21:52:45 +08:00
parent e6c6207343
commit 6f11bae15c
6 changed files with 117 additions and 26 deletions

View File

@@ -5,7 +5,13 @@ namespace ZR.Service.System.IService
{
public interface ISysFileService
{
(bool, string) SaveFile(string picdir, IFormFile formFile);
/// <summary>
/// 上传文件
/// </summary>
/// <param name="picdir"></param>
/// <param name="formFile"></param>
/// <returns>结果、地址、文件名</returns>
(bool, string, string) SaveFile(string picdir, IFormFile formFile);
/// <summary>
/// 按时间来创建文件夹