mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
2.4.1发布,修复部分bug
This commit is contained in:
parent
6688d5b017
commit
ef36527ed6
@ -1,4 +1,4 @@
|
||||
[](https://cloud.tencent.com/act/cps/redirect?redirect=1052&cps_key=736e609d66e0ac4e57813316cec6fd0b&from=console)
|
||||
[](https://cloud.tencent.com/act/cps/redirect?redirect=1052&cps_key=736e609d66e0ac4e57813316cec6fd0b&from=console)
|
||||
|
||||
# 小说精品屋
|
||||
|
||||
@ -247,4 +247,4 @@ novel-admin :平台后台管理系统源码(独立项目,按需安装)
|
||||
|
||||
精品小说屋所有相关项目均已在开源中国公开,感兴趣的可进入[开源中国](https://www.oschina.net/p/fiction_house)按关键字`精品小说屋`搜索。
|
||||
|
||||
[](https://www.aliyun.com/minisite/goods?userCode=uf4nasee )
|
||||
[](https://www.aliyun.com/minisite/goods?userCode=uf4nasee )
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user