IUploadService.cs 351 B

1234567891011121314151617
  1. using Model;
  2. using Model.Base;
  3. using Microsoft.AspNetCore.Mvc;
  4. namespace Services
  5. {
  6. public interface IUploadService
  7. {
  8. /// <summary>
  9. /// 上传文件
  10. /// </summary>
  11. /// <param name="file">文件流</param>
  12. /// <returns>上传文件到本地</returns>
  13. string getPicPath(IFormFile file);
  14. }
  15. }