对博客进行了优化置顶,收藏,热度等操作
This commit is contained in:
@@ -30,7 +30,7 @@ public class AboutController {
|
||||
|
||||
@GetMapping("/about")
|
||||
public String userIndexBlog(Model model){
|
||||
Page<About> pageParam = new Page<>(1, 50);
|
||||
Page<About> pageParam = new Page<>(1, 20);
|
||||
aboutService.page(pageParam,new QueryWrapper<About>().orderByDesc("gmt_create"));
|
||||
// 结果
|
||||
List<About> sayList = pageParam.getRecords();
|
||||
|
||||
Reference in New Issue
Block a user