admin
2022-01-20 d8ef9a783b9e0b2a495f02fdf3daaf27ef49e99d
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;
        }
        // 创建文件输入流