简化安装过程,本地或远超IP可直接访问

This commit is contained in:
xxy
2019-10-18 16:35:10 +08:00
parent 8f2c243940
commit 809934ef97
13 changed files with 40 additions and 25 deletions

View File

@@ -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());

View File

@@ -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";
}
}

View File

@@ -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

View File

@@ -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"/>

View File

@@ -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>

View File

@@ -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>