@@ -295,6 +295,9 @@ public class FileUtils {
}
public static void writeFile(String filePath,String str){
+ if(!new File(filePath).getParentFile().exists()){
+ new File(filePath).getParentFile().mkdirs();
+ }
FileUtil.writeString(str,filePath,StandardCharsets.UTF_8);