mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
简化安装过程,本地或远超IP可直接访问
This commit is contained in:
parent
8f2c243940
commit
809934ef97
45
README.md
45
README.md
@ -1,40 +1,57 @@
|
||||
# 小说精品屋
|
||||
|
||||
#### 介绍
|
||||
该项目包括了一个小说网站代理和一个独立的小说弹幕网站,包括小说在线阅读、TXT下载、小说弹幕、小说自动爬取、小说内容自动分享到微博、链接自动推送到百度搜索引擎等功能。现公布web端代码,需要移动端和小程序代码的也可以找我。
|
||||
小说精品屋是一个功能完善的小说弹幕网站,包含精品小说专区和轻小说专区。包括小说分类、小说搜索、小说排行、小说评分、小说在线阅读、小说书架、小说下载、小说弹幕、小说自动爬取、小说内容自动分享到微博、链接自动推送到百度搜索引擎等功能。现公布web端代码,需要android端和小程序代码的也可以找我。
|
||||
|
||||
#### 软件架构
|
||||
Springboot+mybatis+Mysql+Ehcache+Layui
|
||||
Springboot+Mybatis+Mysql+Ehcache+Thymeleaf+Layui
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. 使用maven插件的package命令将项目打包成jar文件
|
||||
2. 将jar文件和项目根路径下的runSearchJava.sh一起上传到服务器
|
||||
3. 使用chmod +x runSearchJava.sh命令使文件可执行
|
||||
4. 运行runSearchJava.sh脚本即可,如果新浪微博登录cookie过期,走5、6步;否则到此结束
|
||||
5. 如果新浪微博登录cookie失效,去浏览器network获取登录cookie值
|
||||
6. 修改runSearchJava.sh脚本中的启动参数browser.cookieJVM的值为新获取的值并保存
|
||||
7. kill掉Javach程序,重新运行runSearchJava.sh脚本即可
|
||||
1. 数据准备,拉取小说爬虫程序,按照说明文件爬取网络小说到数据库中。([点击获取爬虫程序](https://gitee.com/xiongxyang/crawl-book))
|
||||
2. 修改项目application.yml配置文件中的数据库配置。
|
||||
3. 本地直接运行或使用maven插件打包成jar文件上传到服务器上。
|
||||
4. http://ip:port访问首页
|
||||
5. http://ip:port/books访问精品小说模块
|
||||
6. http://ip.port/book/searchSoftBook.html访问轻小说模块
|
||||
|
||||
#### 项目截图
|
||||
|
||||
1. 电脑端
|
||||
1. 电脑端(首页)
|
||||
|
||||

|
||||

|
||||
|
||||
2. 手机端
|
||||
2. 移动端(首页)
|
||||
|
||||

|
||||
|
||||
3. 移动端(轻小说专区)
|
||||
|
||||

|
||||
|
||||
4. 移动端(小说详情页)
|
||||
|
||||

|
||||
|
||||
3. 小程序
|
||||
|
||||
|
||||
5. 移动端(小说阅读页)
|
||||
|
||||

|
||||
|
||||
6. 小程序
|
||||
|
||||

|
||||
|
||||
#### 演示地址
|
||||
##### 演示地址1
|
||||
|
||||
[点击前往](https://www.zinglizingli.xyz)
|
||||
|
||||
##### 演示地址2(备用)
|
||||
|
||||
[点击前往](http://47.106.243.172)
|
||||
|
||||
#### 小程序二维码
|
||||
|
||||

|
||||
|
BIN
assets/QQ图片20191018161330.jpg
Normal file
BIN
assets/QQ图片20191018161330.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 184 KiB |
BIN
assets/QQ图片20191018161901.png
Normal file
BIN
assets/QQ图片20191018161901.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 352 KiB |
BIN
assets/QQ图片20191018162208.jpg
Normal file
BIN
assets/QQ图片20191018162208.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 227 KiB |
BIN
assets/index.png
BIN
assets/index.png
Binary file not shown.
Before Width: | Height: | Size: 984 KiB |
BIN
assets/精品小说楼.png
Normal file
BIN
assets/精品小说楼.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 764 KiB |
BIN
assets/精品小说楼_轻小说专区.png
Normal file
BIN
assets/精品小说楼_轻小说专区.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
@ -8,7 +8,7 @@ import xyz.zinglizingli.search.filter.SearchFilter;
|
||||
@Configuration
|
||||
public class FilterConfig{
|
||||
|
||||
@Bean
|
||||
//@Bean
|
||||
public FilterRegistrationBean filterRegist() {
|
||||
FilterRegistrationBean frBean = new FilterRegistrationBean();
|
||||
frBean.setFilter(new SearchFilter());
|
||||
|
@ -15,8 +15,7 @@ public class IndexController {
|
||||
|
||||
|
||||
@RequestMapping(value = {"/index.html","/"})
|
||||
public String index(ModelMap modelMap){
|
||||
modelMap.put("hotBookList", ContentFactory.giveRandomContent());
|
||||
return "index";
|
||||
public String index(){
|
||||
return "redirect:/books";
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ spring:
|
||||
# url: jdbc:mysql://148.70.59.92:3306/books?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
# username: xiongxiaoyang
|
||||
# password: Lzslov123!
|
||||
url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
url: jdbc:mysql://148.70.59.92:3306/books?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
username: xiongxiaoyang
|
||||
password: Lzslov123!
|
||||
# url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf-8
|
||||
|
@ -120,7 +120,7 @@
|
||||
<div class="layui-container" style="padding: 0px">
|
||||
|
||||
<div class="layui-row" style="text-align: center">
|
||||
<a href="/book/466.html">
|
||||
<a href="/book/6259.html">
|
||||
<div style="padding: 1%" class="layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4">
|
||||
<img style=" width:80%; height:auto; max-width:100%; max-height:100%;"
|
||||
src="https://www.biquta.com//BookFiles/BookImages/106708.jpg"/>
|
||||
@ -128,7 +128,7 @@
|
||||
黎明之剑
|
||||
</div>
|
||||
</a>
|
||||
<a href="/book/482.html">
|
||||
<a href="/book/6392.html">
|
||||
<div style="padding: 1%" class="layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4">
|
||||
<img style=" width:80%; height:auto; max-width:100%; max-height:100%;"
|
||||
src="https://www.biquta.com//BookFiles/BookImages/111346.jpg"/>
|
||||
@ -136,7 +136,7 @@
|
||||
诸天投影
|
||||
</div>
|
||||
</a>
|
||||
<a href="/book/349.html">
|
||||
<a href="/book/6348.html">
|
||||
<div style="padding: 1%" class="layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4">
|
||||
<img style=" width:80%; height:auto; max-width:100%; max-height:100%;"
|
||||
src="https://www.biquta.com//BookFiles/BookImages/122158.jpg"/>
|
||||
|
@ -1,6 +1,5 @@
|
||||
<div th:fragment="footer" style="height: 60px;line-height: 60px;text-align: center" class="layui-footer footer footer-demo layui-bg-cyan">
|
||||
<a href="https://sf.zinglizingli.xyz" style="font-size: 14px;color: #92B8B1;">轻小说</a>
|
||||
<a href="https://m.zinglizingli.xyz" style="font-size: 14px;color: #92B8B1;margin-left: 8px">更多小说</a>
|
||||
<a href="/book/searchSoftBook.html" style="font-size: 14px;color: #92B8B1;">轻小说</a>
|
||||
<a href="javascript:readHistory()" style="font-size: 14px;color: #92B8B1;margin-left: 8px">阅读记录</a>
|
||||
<a href="javascript:toMyCollect()" style="font-size: 14px;color: #92B8B1;margin-left: 8px">书架</a>
|
||||
<a href="/HotBook.apk" style="font-size: 14px;color: #92B8B1;margin-left: 8px">客户端</a>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div th:fragment="footer" style="height: 60px;line-height: 60px;text-align: center" class="layui-footer footer footer-demo layui-bg-cyan">
|
||||
<a href="https://www.zinglizingli.xyz" style="font-size: 14px;color: #92B8B1;">更多小说</a>
|
||||
<a href="/book" style="font-size: 14px;color: #92B8B1;">更多小说</a>
|
||||
<a href="javascript:readHistory()" style="font-size: 14px;color: #92B8B1;margin-left: 8px">阅读记录</a>
|
||||
<a href="javascript:toMyCollect()" style="font-size: 14px;color: #92B8B1;margin-left: 8px">书架</a>
|
||||
<a href="/HotBook.apk" style="font-size: 14px;color: #92B8B1;margin-left: 8px">客户端</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user