公告列表去除分页参数

This commit is contained in:
张松
2025-01-09 16:33:48 +08:00
parent aa20ba6437
commit fc01fdca2b

View File

@@ -24,7 +24,6 @@ public class AppAnnouncementController {
@GetMapping
public Result get(@RequestParam(defaultValue = "0") Integer type) {
PageHelper.startPage(1,1);
List<Announcement> list = announcementService.list(new LambdaQueryWrapper<Announcement>()
.eq(Announcement::getType, type)
.eq(Announcement::getState, 1)