|
|
@@ -11,6 +11,7 @@ import com.wx.blink.portal.service.IPortalService;
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
@@ -32,13 +33,13 @@ public class PortalController {
|
|
|
|
|
|
@Operation(summary = "通知列表")
|
|
|
@PostMapping("/portal/board/notice/queryPage")
|
|
|
- public ResponseDTO<PageResult<PortalWorkBoardNoticeVO>> portalBoardNoticeQueryPage(CommonQry qry) {
|
|
|
+ public ResponseDTO<PageResult<PortalWorkBoardNoticeVO>> portalBoardNoticeQueryPage(@RequestBody CommonQry qry) {
|
|
|
return portalService.portalBoardNoticeQueryPage(qry);
|
|
|
}
|
|
|
|
|
|
@Operation(summary = "消息列表")
|
|
|
@PostMapping("/portal/board/message/queryPage")
|
|
|
- public ResponseDTO<PageResult<PortalWorkBoardMessageVO>> portalBoardMessageQueryPage(CommonQry qry) {
|
|
|
+ public ResponseDTO<PageResult<PortalWorkBoardMessageVO>> portalBoardMessageQueryPage(@RequestBody CommonQry qry) {
|
|
|
return portalService.portalBoardMessageQueryPage(qry);
|
|
|
}
|
|
|
}
|