mirror of
https://github.com/TheWhiteDog9487/WebAPI.git
synced 2026-08-11 23:01:30 +08:00
让Javadoc可以正确读取跳转位置
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "xyz.thewhitedog9487"
|
group = "xyz.thewhitedog9487"
|
||||||
version = "0.7.0"
|
version = "0.7.1"
|
||||||
|
|
||||||
java {
|
java {
|
||||||
toolchain {
|
toolchain {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class OpenAPIConfiguration {
|
|||||||
.contact(new Contact()
|
.contact(new Contact()
|
||||||
.name("TheWhiteDog9487")
|
.name("TheWhiteDog9487")
|
||||||
.url("https://www.github.com/TheWhiteDog9487/WebAPI"))
|
.url("https://www.github.com/TheWhiteDog9487/WebAPI"))
|
||||||
.version("0.7.0")
|
.version("0.7.1")
|
||||||
.license(new License()
|
.license(new License()
|
||||||
.name("WTFPL")
|
.name("WTFPL")
|
||||||
.url("https://spdx.org/licenses/WTFPL")) )
|
.url("https://spdx.org/licenses/WTFPL")) )
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ public class ApiKeyAuthenticationFilter extends OncePerRequestFilter {
|
|||||||
AccessLogRepository AccessLogRepository;
|
AccessLogRepository AccessLogRepository;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
|
public void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
|
||||||
String ApiKey = request.getHeader("X-API-Key");
|
String ApiKey = request.getHeader("X-API-Key");
|
||||||
if (ApiKey == null) {
|
if (ApiKey == null) {
|
||||||
var ResponseBody = new ResponseData(
|
var ResponseBody = new ResponseData(
|
||||||
|
|||||||
Reference in New Issue
Block a user