标签:public center src ping list alt har products efault
1.目录结构:
2.前端页面引用:
这里想说的是引用的默认出发点是在/static/下了
3.后端:
使用了mybatis分页插件
@RequestMapping("list") public String getList(Model model,HttpSession session, @RequestParam(value = "pageNum",defaultValue = "1") int pageNum, @RequestParam(value = "pageSize",defaultValue = "10") int pageSize){ //权限类判断这里忽略掉 PageInfo result = productService.getProductList(pageNum,pageSize); model.addAttribute("pageInfo",result); model.addAttribute("productList",result.getList()); return "charts";
标签:public center src ping list alt har products efault
原文地址:https://www.cnblogs.com/lyjblogg/p/12038454.html