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

import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.core.vo.FileVo;
import com.yifu.cloud.plus.v1.yifu.social.entity.TAttaInfo;
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<T> uploadAsso(MultipartFile file, String filePath, Integer type, String domain, String uploadType);

	// 更新户的章是否有
	void updateSysHouseHoldInfoIsSign(String domainId, String isSign);

}
