李旭东
2023-12-08 0056d79d25f1565e307e4b184db4d3fbd039ab5e
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);*/
}