修复导航栏跳转错误,添加404页面

This commit is contained in:
F嘉阳
2018-02-26 10:53:32 +08:00
parent cde150deb3
commit b1db4a4944
4 changed files with 19 additions and 15 deletions

View File

@@ -73,4 +73,9 @@ public class NavController {
public String toUserPage(){
return "/home/user";
}
@GetMapping(value = {"/error"})
public String toErrorPage(){
return "/error";
}
}