mirror of
https://github.com/201206030/novel.git
synced 2025-06-24 08:06:39 +00:00
优化WEB端,可以使用回车直接发送弹幕;爬虫优化
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -35,8 +35,8 @@ spring:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driverClassName: com.mysql.jdbc.Driver
|
||||
url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: test123456
|
||||
username: books
|
||||
password: books
|
||||
#password:
|
||||
initialSize: 1
|
||||
minIdle: 3
|
||||
|
10
novel-admin/src/main/resources/crawl.properties
Normal file
10
novel-admin/src/main/resources/crawl.properties
Normal file
@ -0,0 +1,10 @@
|
||||
#<23><><EFBFBD><EFBFBD><EFBFBD>߳<EFBFBD><DFB3><EFBFBD>
|
||||
threadCount=1
|
||||
#<23><>ȡ<EFBFBD><C8A1><EFBFBD>ȼ<EFBFBD> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
priority=1
|
||||
#С˵<D0A1><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֣<EFBFBD>0<EFBFBD><30>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
lowestScore=0
|
||||
#С˵<D0A1><CBB5>С<EFBFBD><D0A1><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
|
||||
minUptTime=2000-01-01 00:00:00
|
||||
#<23><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0<><30>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
maxNumber=0
|
@ -159,14 +159,15 @@ function detail(id) {
|
||||
});
|
||||
}
|
||||
|
||||
function edit(id) {
|
||||
function edit(){
|
||||
console.log('打开配置页面');
|
||||
layer.open({
|
||||
type: 2,
|
||||
title: '编辑',
|
||||
maxmin: true,
|
||||
shadeClose: false, // 点击遮罩关闭层
|
||||
area: ['800px', '520px'],
|
||||
content: prefix + '/edit/' + id // iframe的url
|
||||
type : 2,
|
||||
title : '增加',
|
||||
maxmin : true,
|
||||
shadeClose : false,
|
||||
area : [ '800px', '520px' ],
|
||||
content : prefix + '/edit'
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -9,14 +9,9 @@
|
||||
<div class="ibox-body">
|
||||
<div class="fixed-table-toolbar">
|
||||
<div class="columns pull-left">
|
||||
<button shiro:hasPermission="books:bookCrawl:add" type="button"
|
||||
class="btn btn-primary" onclick="add()">
|
||||
<i class="fa fa-plus" aria-hidden="true"></i>添加
|
||||
</button>
|
||||
<button shiro:hasPermission="books:bookCrawl:batchRemove" type="button"
|
||||
class="btn btn-danger"
|
||||
onclick="batchRemove()">
|
||||
<i class="fa fa-trash" aria-hidden="true"></i>删除
|
||||
<button type="button" class="btn btn-info"
|
||||
onclick="edit()">
|
||||
<i class="" aria-hidden="true"></i>爬虫配置
|
||||
</button>
|
||||
</div>
|
||||
<div class="columns pull-right">
|
||||
|
Reference in New Issue
Block a user