fix:3个博客都需要处理

上级 f7331145
...@@ -38,6 +38,10 @@ public class FileContainsUtil { ...@@ -38,6 +38,10 @@ public class FileContainsUtil {
* 博客路径2 * 博客路径2
*/ */
private static final String BLOG_FOLDER2 = "/Users/qinyingjie/Documents/idea-workspace/study/blog/"; 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 { ...@@ -45,6 +49,7 @@ public class FileContainsUtil {
"http://qinyingjie.top/blogImg/image-20230324112725149.png" "http://qinyingjie.top/blogImg/image-20230324112725149.png"
, "http://qinyingjie.top/blogImg/logo.png" , "http://qinyingjie.top/blogImg/logo.png"
, "http://qinyingjie.top/blogImg/image-20230601124308164.png" , "http://qinyingjie.top/blogImg/image-20230601124308164.png"
, "http://qinyingjie.top/blogImg/image-20230822102858692.png"
); );
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
...@@ -73,6 +78,7 @@ public class FileContainsUtil { ...@@ -73,6 +78,7 @@ public class FileContainsUtil {
//包含某个字符串 //包含某个字符串
traverseFolder(BLOG_FOLDER1, suffix, picName); traverseFolder(BLOG_FOLDER1, suffix, picName);
traverseFolder(BLOG_FOLDER2, suffix, picName); traverseFolder(BLOG_FOLDER2, suffix, picName);
traverseFolder(BLOG_FOLDER3, suffix, picName);
//文件不存在 //文件不存在
if (!IS_EXIST) { if (!IS_EXIST) {
isNotExist.add(picName); isNotExist.add(picName);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册