完成前端界面设计
This commit is contained in:
@@ -25,17 +25,17 @@ public class NavController {
|
||||
return "/home/home";
|
||||
}
|
||||
|
||||
@GetMapping(value = {"/feedback"})
|
||||
@GetMapping(value = {"/home/feedback"})
|
||||
public String toFeedbackPage(){
|
||||
return "/home/feedback";
|
||||
}
|
||||
|
||||
@GetMapping(value = {"/about"})
|
||||
@GetMapping(value = {"/home/about"})
|
||||
public String toAboutPage(){
|
||||
return "/home/about";
|
||||
}
|
||||
|
||||
@GetMapping(value = {"/user"})
|
||||
@GetMapping(value = {"/home/user"})
|
||||
public String toUserPage(){
|
||||
return "/home/user";
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.springframework.web.servlet.config.annotation.PathMatchConfigurer;
|
||||
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
|
||||
/*@Configuration*/
|
||||
@Configuration
|
||||
public class WebAppConfig implements WebMvcConfigurer {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user