Add sponsored access and remove unused codes

pull/75/MERGE
kl 2 years ago
parent e08c41baa9
commit 99bdeef754

@ -67,6 +67,7 @@ public class WebConfig implements WebMvcConfigurer {
public FilterRegistrationBean<BaseUrlFilter> getBaseUrlFilter() {
Set<String> filterUri = new HashSet<>();
filterUri.add("/index");
filterUri.add("/");
filterUri.add("/onlinePreview");
filterUri.add("/picturesPreview");
BaseUrlFilter filter = new BaseUrlFilter();
@ -80,6 +81,7 @@ public class WebConfig implements WebMvcConfigurer {
public FilterRegistrationBean<AttributeSetFilter> getWatermarkConfigFilter() {
Set<String> filterUri = new HashSet<>();
filterUri.add("/index");
filterUri.add("/");
filterUri.add("/onlinePreview");
filterUri.add("/picturesPreview");
AttributeSetFilter filter = new AttributeSetFilter();

@ -21,6 +21,11 @@ public class IndexController {
return "/main/record";
}
@GetMapping( "/sponsor")
public String go2Sponsor(){
return "/main/sponsor";
}
@GetMapping( "/integrated")
public String go2Integrated(){
return "/main/integrated";
@ -28,7 +33,7 @@ public class IndexController {
@GetMapping( "/")
public String root() {
return "redirect:/main/index";
return "/main/index";
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -1 +0,0 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"gitalk.css","sourceRoot":""}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

@ -44,6 +44,7 @@
<li class="active"><a href="./index"></a></li>
<li><a href="./integrated"></a></li>
<li><a href="./record"></a></li>
<li><a href="./sponsor"></a></li>
</ul>
</div>
</div>

@ -44,6 +44,7 @@
<li><a href="./index"></a></li>
<li class="active"><a href="./integrated"></a></li>
<li><a href="./record"></a></li>
<li><a href="./sponsor"></a></li>
</ul>
</div>
</div>

@ -35,6 +35,7 @@
<li><a href="./index"></a></li>
<li><a href="./integrated"></a></li>
<li class="active"><a href="./record"></a></li>
<li><a href="./sponsor"></a></li>
</ul>
</div>
</div>

@ -0,0 +1,90 @@
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0"/>
<title></title>
<link rel="icon" href="./favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/viewer.min.css"/>
<link rel="stylesheet" href="css/loading.css"/>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css"/>
<link rel="stylesheet" href="bootstrap/css/bootstrap-theme.min.css"/>
<link rel="stylesheet" href="bootstrap-table/bootstrap-table.min.css"/>
<link rel="stylesheet" href="css/theme.css"/>
<script type="text/javascript" src="js/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="js/jquery.form.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="js/base64.min.js"></script>
<style>
.alert {
width: 50%;
}
</style>
</head>
<body>
<!-- Fixed navbar -->
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://kkview.cn" target='_blank'>kkFileView</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="./index"></a></li>
<li><a href="./integrated"></a></li>
<li><a href="./record"></a></li>
<li class="active"><a href="./sponsor"></a></li>
</ul>
</div>
</div>
</nav>
<div class="container theme-showcase" role="main">
<#-- -->
<div class="page-header">
<h1></h1>
<ur style="font-size: 16px;">
<li>kkFileView 6 <a target="_blank" href="https://gitee.com/kekingcn/file-online-preview">Gitee(16.9K)</a><a target="_blank" href="https://github.com/kekingcn/kkFileView">GitHub(8k)</a> star</li>
<li>kkFileView 广, 200+ 使</li>
<li>kkFileView CDN , 1000</li>
<li>kkFileView 线 kkFileView </li>
</ur>
</div>
<div>
<div style="font-size: 16px;">
<img width="400px" height="550px" src="/images/alipay.jpeg"/> &nbsp;&nbsp;&nbsp;<img width="400px" height="550px" src="/images/wxpay.jpeg"/>
</div>
</div>
<div>
<h3></h3>
2023-03-14
<br/>
<table class="table table-striped table-bordered">
<tr>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td>**</td>
<td>99</td>
<td>2023-03-14</td>
</tr>
</table>
</div>
</div>
</body>
</html>
Loading…
Cancel
Save