From f2ccf649819dd5303d29556adc942be6a1c54dad Mon Sep 17 00:00:00 2001 From: purple7433 <743367900@qq.com> Date: Wed, 17 Jan 2024 15:34:36 +0800 Subject: [PATCH] u --- .../com/seasky/seaskyocr/domain/aggregate/file/FileEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ServiceSite/src/main/java/com/seasky/seaskyocr/domain/aggregate/file/FileEntity.java b/ServiceSite/src/main/java/com/seasky/seaskyocr/domain/aggregate/file/FileEntity.java index d238b132..0f27786f 100644 --- a/ServiceSite/src/main/java/com/seasky/seaskyocr/domain/aggregate/file/FileEntity.java +++ b/ServiceSite/src/main/java/com/seasky/seaskyocr/domain/aggregate/file/FileEntity.java @@ -104,7 +104,7 @@ public class FileEntity { if (!directory.exists()) { directory.mkdir(); } - File file = FileUtil.base64ToFile(fileBytesBase64, directoryPath + "\\" + this.random + "-" + fileName); + File file = FileUtil.base64ToFile(fileBytesBase64, directoryPath + "/" + this.random + "-" + fileName); try { this.hashId = fileBytes.hashCode() + ""; } catch (Exception e) { -- GitLab