123456789101112131415161718192021222324252627282930 |
- package com.hssx.cloudmodel.service;
- import com.hssx.cloudmodel.entity.ProjectFile;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.hssx.cloudmodel.entity.vo.UserVO;
- import com.hssx.cloudmodel.util.HttpRespMsg;
- import org.springframework.web.multipart.MultipartFile;
- import javax.servlet.http.HttpServletResponse;
- import java.io.FileNotFoundException;
- import java.io.UnsupportedEncodingException;
- /**
- * <p>
- * 服务类
- * </p>
- *
- * @author 吴涛涛
- * @since 2019-07-30
- */
- public interface ProjectFileService extends IService<ProjectFile> {
- HttpRespMsg addFile(UserVO userVO, MultipartFile file, String path);
- HttpRespMsg dowloadFile(ProjectFile projectFile, String token,String downLoadpath,HttpServletResponse response,String path) throws FileNotFoundException, UnsupportedEncodingException;
- HttpRespMsg getFileList(UserVO userVO,String path);
- HttpRespMsg delFile(ProjectFile projectFile,String token);
- }
|