lyhzzz 3 hónapja
szülő
commit
51910e02d0

+ 1 - 1
src/main/java/com/fdkankan/fusion/service/impl/CommonUploadServiceImpl.java

@@ -84,7 +84,7 @@ public class CommonUploadServiceImpl extends ServiceImpl<ICommonUploadMapper, Co
 
             String ossPath = String.format(OssPath.MANAGE_MODEL_FILE_PATH, uuid + extName);
 
-            tempFile = new File(OssPath.localPath + ossPath);
+            tempFile = new File(OssPath.localPath +File.separator+ ossPath);
             if(!tempFile.getParentFile().exists()){
                 tempFile.getParentFile().mkdirs();
             }