lyhzzz 2 năm trước cách đây
mục cha
commit
26d5846ba0

+ 1 - 1
src/main/java/com/fdkankan/manage_jp/service/impl/SceneCommonService.java

@@ -152,7 +152,7 @@ public class SceneCommonService {
         String localPath = SceneResourcePath.nasBasePath + ossStatusJsonPath;
         File file = new File(localPath);
         if(!file.getParentFile().exists()){
-            file.mkdirs();
+            file.getParentFile().mkdirs();
         }
         String fileContent = fYunFileServiceInterface.getFileContent(ossStatusJsonPath);
         if(StringUtils.isNotBlank(fileContent)){