package com.yifu.cloud.plus.v1.csp.service;

import com.yifu.cloud.plus.v1.csp.entity.TCspAttaInfo;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.core.vo.FileVo;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * 文件上传
 *
 * @author huych
 * @date 2025-05-16 11:16:07
 */
public interface FileUploadService {

	R<FileVo> uploadImg(MultipartFile file, String filePath, Integer type, String domain) throws IOException;

	R<TCspAttaInfo> uploadFileReturnAtta(MultipartFile file, String filePath, Integer type, String domainId) throws IOException;

	R<T> uploadAsso(MultipartFile file, String filePath, Integer type, String domain, String uploadType);
}
