123456789101112131415161718192021 |
- package com.fd.server;
- import com.fd.util.ResponseResult;
- import org.springframework.web.multipart.MultipartFile;
- /**
- * Created by Owen on 2019/10/25 0025 16:05
- */
- //@Component
- public interface FileServer {
- // 大文件上传
- ResponseResult uploadBigFile(MultipartFile file, String savePath);
- // 普通文件上传,不支持大文件
- ResponseResult uploadVector(MultipartFile file, String savePath, String directoryName);
- ResponseResult deleteFileById(Long id);
- // ResponseResult deleteDirectoryById(Long fileId);
- }
|