对博客进行了优化置顶,收藏,热度等操作

This commit is contained in:
limqhz
2022-05-08 03:00:54 +08:00
parent e65206fa89
commit b505f890d4
29 changed files with 551 additions and 173 deletions

View File

@@ -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();