文件上传

This commit is contained in:
haozq 2025-08-14 13:29:50 +08:00
parent ad4ba0b80c
commit 1bfc986761
1 changed files with 13 additions and 13 deletions

View File

@ -18,7 +18,7 @@ import java.util.List;
/**
* @author 黑子
* 默认桶 filename
* 默认桶 realname
*/
@Service
@Slf4j
@ -30,12 +30,12 @@ public class FileUploadUtils {
/**
* 单文件上传
* @param file
* @param sourceTable
* @param sourceId
* @param sourceType
* @param prefix
* @param bucketName
* @param file -必填
* @param sourceTable -必填
* @param sourceId -必填
* @param sourceType -非必填
* @param prefix -非必填
* @param bucketName -非必填
* @return
*/
public UploadFileVo uploadFile( MultipartFile file, String sourceTable, String sourceId, String sourceType, String prefix, String bucketName ){
@ -48,12 +48,12 @@ public class FileUploadUtils {
}
/**
* 单文件上传-bast64
* @param file
* @param sourceTable
* @param sourceId
* @param sourceType
* @param prefix
* @param bucketName
* @param file -必填
* @param sourceTable -必填
* @param sourceId -必填
* @param sourceType -非必填
* @param prefix -非必填
* @param bucketName -非必填
* @return
*/
public UploadFileVo uploadBast64( String file, String sourceTable, String sourceId, String sourceType, String prefix, String bucketName ){