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

import com.yifu.cloud.plus.v1.yifu.archives.entity.TAttaInfo;
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 pwang
 * @date 2022-07-27 16:16:07
 */
public interface FileUploadService {

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

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

    R<FileVo> createQrCode(String domainId, String url, String name);

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