提交 b73b2033 作者: ZhangJingKun

采集监控初始化提交

上级 d99694db
......@@ -121,6 +121,7 @@ public class CommandLineRunnerImpl implements CommandLineRunner {
if(content != null && content.length() > 0 && publishDate != null && publishDate.length() > 0){
//验证通过
insertCollInfo(siteMsgTemple, true, "");
return true;
} else {
insertCollInfo(siteMsgTemple, false, "正文或发布时间为空,");
}
......@@ -133,7 +134,7 @@ public class CommandLineRunnerImpl implements CommandLineRunner {
} else {
insertCollInfo(siteMsgTemple, false, "列表页验证失败,");
}
return null;
return false;
} catch (Exception e) {
e.printStackTrace();
return false;
......
server:
port: 9394
port: 9393
servlet:
context-path: /collection
......@@ -21,5 +21,5 @@ mybatis-plus:
map-underscore-to-camel-case: true
file:
info-source-path: D:\zjk\code01\collection\src\main\resources\info_source.txt
info-source-path: E:\projects\code01\collection\src\main\resources\info_source.txt
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论