| | |
| | | import com.xcong.excoin.common.response.Result;
|
| | | import com.xcong.excoin.modules.helpCenter.dto.ImportantNoticePageDto;
|
| | | import com.xcong.excoin.modules.helpCenter.dto.NewNoticePageDto;
|
| | | import com.xcong.excoin.modules.helpCenter.dto.NewNoticeTypePageDto;
|
| | | import com.xcong.excoin.modules.helpCenter.dto.NoticePageDto;
|
| | | import com.xcong.excoin.modules.helpCenter.service.HelpCenterService;
|
| | | import com.xcong.excoin.modules.helpCenter.vo.ImportantNoticeVo;
|
| | | import com.xcong.excoin.modules.helpCenter.vo.NewNoticeInfoVo;
|
| | | import com.xcong.excoin.modules.helpCenter.vo.NewNoticeTypeInfoVo;
|
| | | import com.xcong.excoin.modules.helpCenter.vo.NoticeInfoVo;
|
| | |
|
| | | import io.swagger.annotations.Api;
|
| | |
| | | HelpCenterService helpCenterService;
|
| | |
|
| | | /**
|
| | | * 公告类别列表
|
| | | */
|
| | | @ApiOperation(value="公告类别列表", notes="公告类别列表")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = NewNoticeTypeInfoVo.class)})
|
| | | @PostMapping(value = "/getNewNoticeTypeList")
|
| | | public Result getNewNoticeTypeList(@RequestBody @Valid NewNoticeTypePageDto newNoticeTypePageDto) {
|
| | | return helpCenterService.getNewNoticeTypeList(newNoticeTypePageDto);
|
| | | }
|
| | | |
| | | /**
|
| | | * 公告列表
|
| | | */
|
| | | @ApiOperation(value="公告列表", notes="公告列表")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = NewNoticeInfoVo.class)})
|
| | | @PostMapping(value = "/getNoticeList")
|
| | | public Result getNoticeList(@RequestBody @Valid NoticePageDto noticePageDto) {
|
| | | return helpCenterService.getNoticeList(noticePageDto);
|
| | | }
|
| | | |
| | | /**
|
| | | * 最新公告
|
| | | */
|
| | | @ApiOperation(value="最新公告", notes="最新公告")
|