优化部分引用
This commit is contained in:
Vendored
BIN
Binary file not shown.
+2
@@ -0,0 +1,2 @@
|
||||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.3/apache-maven-3.9.3-bin.zip
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
|
||||
@@ -5,15 +5,15 @@ import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
@Controller
|
||||
public class NavigationController {
|
||||
// @GetMapping("/personal/")
|
||||
// public String personal_index(){
|
||||
// return "self";
|
||||
// }
|
||||
//
|
||||
// @GetMapping("/personal/mobile")
|
||||
// public String personal_mobile(){
|
||||
// return "selfMobile";
|
||||
// }
|
||||
@GetMapping("/personal/")
|
||||
public String personal_index(){
|
||||
return "self";
|
||||
}
|
||||
|
||||
@GetMapping("/personal/mobile")
|
||||
public String personal_mobile(){
|
||||
return "selfMobile";
|
||||
}
|
||||
|
||||
@GetMapping("/")
|
||||
public String index(){
|
||||
|
||||
@@ -3,7 +3,6 @@ package com.lion.lionwebsite.Interceptor;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import org.springframework.web.servlet.HandlerInterceptor;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
|
||||
public class HumanInterceptor implements HandlerInterceptor {
|
||||
|
||||
@@ -4,7 +4,6 @@ import com.lion.lionwebsite.Dao.UserMapper;
|
||||
import jakarta.annotation.Resource;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import org.springframework.lang.NonNullApi;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.servlet.HandlerInterceptor;
|
||||
|
||||
|
||||
@@ -14,8 +14,4 @@ public class ResponseMessage extends AbstractMessage{
|
||||
|
||||
byte result;
|
||||
|
||||
public ResponseMessage(int messageId, byte result){
|
||||
this.messageId = messageId;
|
||||
this.result = result;
|
||||
}
|
||||
}
|
||||
|
||||
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
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Lion</title>
|
||||
<script type="module" crossorigin src="/self/index.js"></script>
|
||||
<link rel="stylesheet" href="/self/index.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Personal</title>
|
||||
<script type="module" crossorigin src="/self/mobile.js"></script>
|
||||
<link rel="stylesheet" href="/self/mobile.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user