package org.security.imagePlatformDock.service;

import org.security.ht.vo.common.UploadVO;
import org.springblade.core.tool.api.R;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @author ：wzf
 * @since ：Created in 2022/9/6 16:35
 */
public interface IUploadFileService {
	/**
	 * 上传单个文件
	 * @return
	 */
	R<UploadVO> sendImagePlateFormDock(MultipartFile file, String groupName, String fileType, Boolean encrypt);

	/**
	 *获取影像平台id
	 * @return
	 */
	String getData(String busiBeginDate, String contentId,String fileName) throws IOException;

	/**
	 *上传多个文件
	 */
	List<UploadVO> sendImagesPlateFormDock(List<MultipartFile> files, String groupName, String fileType, Boolean encrypt);

	/**
	 * 删除影像平台附件
	 */
	R removeFileData(String busiBeginDate, String contentId);
}
