张晓波
2023-09-19 164694c47c35d6654df69b533e8dbf8b5423efc5
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
package com.thhy.filectrl.service;
 
import org.csource.common.NameValuePair;
import org.springframework.web.multipart.MultipartFile;
 
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.io.InputStream;
 
public interface FdfsService {
 
    String upload(MultipartFile file);
 
    void downfile(String dfsPath,String fileName, HttpServletResponse resp);
 
    NameValuePair[] fileInfo(String fullPath);
 
    void preview(String dfsPath,HttpServletResponse resp);
 
    /*String upload(InputStream inputStream);
 
    String upload(InputStream inputStream,String fileName);
 
    String upload(File file);*/
}