Browse Source

fix:修复首页公告列表展示问题

dev
pref_mail@163.com 3 weeks ago
parent
commit
d58ef8eac9
  1. 3
      blade-service/logpm-basic/src/main/java/com/logpm/basic/controller/BasicNoticeController.java

3
blade-service/logpm-basic/src/main/java/com/logpm/basic/controller/BasicNoticeController.java

@ -81,9 +81,6 @@ public class BasicNoticeController extends BladeController {
public R<IPage<BasicNoticeVO>> list(@ApiIgnore @RequestParam Map<String, Object> notice, Query query) {
BasicNoticeWrapper.build().noticeQuery(notice);
if(AuthUtil.isAdmin()){
return R.data(null);
}
IPage<BasicNotice> pages = noticeService.page(Condition.getPage(query), Condition.getQueryWrapper(notice, BasicNotice.class));
return R.data(BasicNoticeWrapper.build().pageVO(pages));

Loading…
Cancel
Save