提交 b73b2033 作者: ZhangJingKun

采集监控初始化提交

上级 d99694db
...@@ -121,6 +121,7 @@ public class CommandLineRunnerImpl implements CommandLineRunner { ...@@ -121,6 +121,7 @@ public class CommandLineRunnerImpl implements CommandLineRunner {
if(content != null && content.length() > 0 && publishDate != null && publishDate.length() > 0){ if(content != null && content.length() > 0 && publishDate != null && publishDate.length() > 0){
//验证通过 //验证通过
insertCollInfo(siteMsgTemple, true, ""); insertCollInfo(siteMsgTemple, true, "");
return true;
} else { } else {
insertCollInfo(siteMsgTemple, false, "正文或发布时间为空,"); insertCollInfo(siteMsgTemple, false, "正文或发布时间为空,");
} }
...@@ -133,7 +134,7 @@ public class CommandLineRunnerImpl implements CommandLineRunner { ...@@ -133,7 +134,7 @@ public class CommandLineRunnerImpl implements CommandLineRunner {
} else { } else {
insertCollInfo(siteMsgTemple, false, "列表页验证失败,"); insertCollInfo(siteMsgTemple, false, "列表页验证失败,");
} }
return null; return false;
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return false; return false;
......
server: server:
port: 9394 port: 9393
servlet: servlet:
context-path: /collection context-path: /collection
...@@ -21,5 +21,5 @@ mybatis-plus: ...@@ -21,5 +21,5 @@ mybatis-plus:
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
file: 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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论