修复导航栏跳转错误,添加404页面
This commit is contained in:
@@ -73,4 +73,9 @@ public class NavController {
|
||||
public String toUserPage(){
|
||||
return "/home/user";
|
||||
}
|
||||
|
||||
@GetMapping(value = {"/error"})
|
||||
public String toErrorPage(){
|
||||
return "/error";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user