|
|
@@ -38,7 +38,7 @@ public class NoticeController {
|
|
|
public Page<Notice> getNotices(PageParams params) {
|
|
|
PageInfo info = new PageInfo(params);
|
|
|
info.sorting("date", Direction.DESC);
|
|
|
- return noticeService.findAllByPageInfo(new PageInfo(params));
|
|
|
+ return noticeService.findAllByPageInfo(info);
|
|
|
}
|
|
|
|
|
|
/**
|