【fix sonar】CommonUtils文件

This commit is contained in:
梁琦涛
2023-03-09 12:01:57 +08:00
parent 0f00c73f85
commit 3937e281c4
@@ -53,7 +53,7 @@ public class CommonUtils {
dbPath = bizPath + File.separator + fileName;
}else {
InputStream in = new ByteArrayInputStream(data);
String relativePath = bizPath+"/"+fileName;
String relativePath = bizPath+ File.separator +fileName;
if(CommonConstant.UPLOAD_TYPE_MINIO.equals(uploadType)){
dbPath = MinioUtil.upload(in,relativePath);
}else if(CommonConstant.UPLOAD_TYPE_OSS.equals(uploadType)){