tj
2025-06-05 2d549a04870d1315868a7cf19952b64e8071e711
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.cloudroam.manager;
 
import com.cloudroam.model.SysFileDO;
import org.springframework.web.multipart.MultipartFile;
 
import javax.servlet.http.HttpServletResponse;
 
public interface SysFileManager {
    /*
    上传单个文件
     */
    SysFileDO uploadFile(MultipartFile uploadfile, String bucket, String objectName) throws Exception;
 
    /**
     * 根据fullpath查看文件是否存在
     *
     * @param fullpath 文件全路径
     * @return
     */
    SysFileDO getFileByFullpath(String fullpath);
 
    /**
     * 文件下载
     * @param fullpath 文件全路径
     * @param response
     */
    void downloadFileWithFullpath(String fullpath, HttpServletResponse response) throws Exception;
}