提交 d99694db 作者: ZhangJingKun

1

上级 20e22f23
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
......
......@@ -64,10 +64,7 @@ public class CommandLineRunnerImpl implements CommandLineRunner {
if(!yanzheng(siteMsgTemple)){
//第一次失败
if(!yanzheng(siteMsgTemple)){
//第二次失败
yanzheng(siteMsgTemple);//验证失败的重试3次
}
yanzheng(siteMsgTemple);
}
}
......@@ -81,10 +78,10 @@ public class CommandLineRunnerImpl implements CommandLineRunner {
String infoSourceCode = siteMsgTemple.getInfoSourceCode();
String siteName = siteMsgTemple.getSiteName();
String siteUri = siteMsgTemple.getSiteUri();
log.info("验证信息源:{}---栏目名称:{}---栏目地址:{}", infoSourceCode, siteName, siteUri);
log.info("验证信息源:{}---栏目名称:{}---栏目地址:{}", infoSourceCode, siteName, siteUri);
try {
String checkedList = siteMsgTemple.getCheckedList();//是否翻墙
boolean contains = checkedList.contains("3");
boolean contains = checkedList == null ? false : checkedList.contains("3");
String result;//验证结果
Boolean mark = false;//列表页验证是否成功标识
if(contains){
......
server:
port: 9393
port: 9394
servlet:
context-path: /collection
......@@ -21,5 +21,5 @@ mybatis-plus:
map-underscore-to-camel-case: true
file:
info-source-path: E:\projects\code01\collection\src\main\resources\info_source.txt
info-source-path: D:\zjk\code01\collection\src\main\resources\info_source.txt
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论