|
|
@@ -134,8 +134,8 @@ public class MinioFileHandle extends AbstractFileHandle {
|
|
|
if (!uploadPath.endsWith("/")) {
|
|
|
uploadPath = uploadPath + "/";
|
|
|
}
|
|
|
- filePath = uploadPath + filePath;
|
|
|
- FileUtils.writeByteArrayToFile(new File(filePath), b);
|
|
|
+ String transferFilePath = uploadPath + filePath;
|
|
|
+ FileUtils.writeByteArrayToFile(new File(transferFilePath), b);
|
|
|
return appMinioPreview + filePath;
|
|
|
} catch (Exception e) {
|
|
|
log.error("图片预览失败:" + e.getLocalizedMessage());
|