mirror of
https://github.com/201206030/novel.git
synced 2025-09-14 05:02:43 +00:00
2.4.1发布,修复部分bug
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</parent>
|
||||
<groupId>xyz.zinglizingli</groupId>
|
||||
<artifactId>novel-front</artifactId>
|
||||
<version>2.4.0.beta</version>
|
||||
<version>2.4.1.beta</version>
|
||||
<name>novel-front</name>
|
||||
<description>小说精品楼-前台web网站</description>
|
||||
|
||||
|
@@ -66,6 +66,7 @@ public class StartListener implements ServletContextListener {
|
||||
|
||||
log.info("updateBooks执行中。。。。。。。。。。。。");
|
||||
crawlSource.update();
|
||||
Thread.sleep(2000);
|
||||
} catch (Exception e) {
|
||||
log.error(e.getMessage(), e);
|
||||
}
|
||||
|
@@ -467,7 +467,9 @@ public class BookService {
|
||||
*/
|
||||
public List<BookParseLog> queryBookParseLogs() {
|
||||
List<BookParseLog> logs = bookParseLogMapper.queryBookParseLogs();
|
||||
SpringUtil.getBean(BookService.class).addBookUpdateCount(logs);
|
||||
if(logs.size()>0) {
|
||||
SpringUtil.getBean(BookService.class).addBookUpdateCount(logs);
|
||||
}
|
||||
return logs;
|
||||
}
|
||||
|
||||
|
@@ -5,7 +5,7 @@ spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password:
|
||||
password: test123456
|
||||
# url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
# username: root
|
||||
# password: test123456
|
||||
@@ -89,7 +89,7 @@ books:
|
||||
#爬取的网站名称类型 1:笔趣岛 ,2:笔趣塔,3:顶点小说 ,4:百书斋 更多网站解析中,敬请期待
|
||||
crawl:
|
||||
website:
|
||||
type: 4
|
||||
type: 3
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user