完成管理员主页的数据读取

This commit is contained in:
F嘉阳
2018-02-08 22:31:27 +08:00
parent f43146a590
commit 246f9d7e00
14 changed files with 544 additions and 103 deletions

View File

@@ -35,6 +35,11 @@ public class NavController {
return "/home/about";
}
@GetMapping(value = {"/admin"})
public String toAdminPage(){
return "/home/admin";
}
@GetMapping(value = {"/home/user"})
public String toUserPage(){
return "/home/user";