admin
2022-03-31 02f1c9fd2c594323f772f8e8f0f2187a285c1749
src/main/java/com/ks/codegenerator/utils/FileUtils.java
@@ -59,7 +59,7 @@
     **/
    public static void replaceFileContent(String file, String from, String to) throws Exception {
        if (!new File(file).exists()) {
            throw new Exception("文件不存在");
          return;
        }
        // 创建文件输入流