| | |
| | | import com.kidgrow.filecenter.model.FileInfo; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.io.IOException; |
| | | import java.io.InputStream; |
| | | import java.util.Map; |
| | | |
| | |
| | | */ |
| | | ResultBody baseDownLoad(Map<String, Object> map) throws Exception; |
| | | |
| | | FileInfo byteUplaod(String fileName, InputStream inputStream, int size); |
| | | FileInfo byteUplaod(String fileName, InputStream inputStream, int size) throws IOException; |
| | | /** |
| | | * 文件上传 根据fileType选择上传方式 hospitalId departmentId |
| | | * @param file |
| | | * @return |
| | | */ |
| | | FileInfo feignUploadHosIdAndDepId(MultipartFile file, String imgType, String hospitalId, String departmentId)throws Exception; |
| | | } |