原文地址:http://www.work100.net/training/monolithic-project-iot-cloud-admin-manager-list1.html
更多教程:光束云 - 免费课程
账户列表展示
序号 | 文内章节 | 视频 |
---|---|---|
1 | 修改ManagerController | - |
2 | 修改manager_list.jsp | - |
3 | 页面效果 | - |
4 | 实例源码 | - |
请参照如上章节导航
进行阅读
1.修改ManagerController
参照 AdminLTE-3.0.2/pages/tables/simple.html
简单表格功能,改造我们的列表。
修改 list
方法,代码如下:
@RequestMapping(value = "list", method = RequestMethod.GET)
public String list(Model model) {
List<AuthManager> authManagers = authManagerService.selectAll();
model.addAttribute("authManagers"