From 05e9109cbb23cbadfe87e3e1ef7c7ac84741ee48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E8=8B=B1=E6=9D=B0?= <327782001@qq.com> Date: Tue, 22 Aug 2023 10:39:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:3=E4=B8=AA=E5=8D=9A=E5=AE=A2=E9=83=BD?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/kwan/springbootkwan/utils/FileContainsUtil.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/kwan/springbootkwan/utils/FileContainsUtil.java b/src/main/java/com/kwan/springbootkwan/utils/FileContainsUtil.java index 2f13835..9d09457 100644 --- a/src/main/java/com/kwan/springbootkwan/utils/FileContainsUtil.java +++ b/src/main/java/com/kwan/springbootkwan/utils/FileContainsUtil.java @@ -38,6 +38,10 @@ public class FileContainsUtil { * 博客路径2 */ private static final String BLOG_FOLDER2 = "/Users/qinyingjie/Documents/idea-workspace/study/blog/"; + /** + * 博客路径3 + */ + private static final String BLOG_FOLDER3 = "/Users/qinyingjie/Documents/idea-workspace/study/belle_blog/"; /** * 图片白名单 */ @@ -45,6 +49,7 @@ public class FileContainsUtil { "http://qinyingjie.top/blogImg/image-20230324112725149.png" , "http://qinyingjie.top/blogImg/logo.png" , "http://qinyingjie.top/blogImg/image-20230601124308164.png" + , "http://qinyingjie.top/blogImg/image-20230822102858692.png" ); public static void main(String[] args) throws Exception { @@ -73,6 +78,7 @@ public class FileContainsUtil { //包含某个字符串 traverseFolder(BLOG_FOLDER1, suffix, picName); traverseFolder(BLOG_FOLDER2, suffix, picName); + traverseFolder(BLOG_FOLDER3, suffix, picName); //文件不存在 if (!IS_EXIST) { isNotExist.add(picName); -- GitLab