| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- package com.xunmei.file.service;
- import org.springframework.web.multipart.MultipartFile;
- import javax.servlet.http.HttpServletResponse;
- import java.util.Map;
- /**
- * 文件上传接口
- *
- * @author xunmei
- */
- public interface ISysFileService
- {
- /**
- * 文件上传接口
- *
- * @param file 上传的文件
- * @return 访问地址
- * @throws Exception
- */
- String uploadFile(MultipartFile file) throws Exception;
- /**
- * 文件上传接口
- *
- * @param file 上传的文件
- * @return 访问地址
- * @throws Exception
- */
- String uploadFile(MultipartFile file, String busType) throws Exception;
- /**
- * 文件下载接口
- *
- * @param response
- * @param filePath
- * @return
- * @throws Exception
- */
- void downloadFile(HttpServletResponse response, String filePath) throws Exception;
- String generateEduTrainingPdf(Map<String, Object> data) throws Exception;
- }
|