From 1426dd5c6434b1b2d7c3f87b43cc3f2157cc2392 Mon Sep 17 00:00:00 2001 From: skytin1004 Date: Wed, 21 Feb 2024 22:45:39 +0900 Subject: [PATCH] =?UTF-8?q?[feature/Inhabas#234]=20=EC=B5=9C=EA=B7=BC=20?= =?UTF-8?q?=EC=BB=A4=EB=B0=8B=20=EB=B0=98=EC=98=81=E3=85=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/inhabas/api/web/ContestBoardController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resource-server/src/main/java/com/inhabas/api/web/ContestBoardController.java b/resource-server/src/main/java/com/inhabas/api/web/ContestBoardController.java index c17c75d8..58336839 100644 --- a/resource-server/src/main/java/com/inhabas/api/web/ContestBoardController.java +++ b/resource-server/src/main/java/com/inhabas/api/web/ContestBoardController.java @@ -29,7 +29,7 @@ import com.inhabas.api.domain.contest.dto.SaveContestBoardDto; import com.inhabas.api.domain.contest.usecase.ContestBoardService; import com.inhabas.api.global.dto.PageInfoDto; -import com.inhabas.api.global.dto.PagedMemberResponseDto; +import com.inhabas.api.global.dto.PagedResponseDto; import com.inhabas.api.global.util.PageUtil; import com.inhabas.api.web.argumentResolver.Authenticated; import io.swagger.v3.oas.annotations.Operation; @@ -54,7 +54,7 @@ public class ContestBoardController { value = { @ApiResponse( responseCode = "200", - content = {@Content(schema = @Schema(implementation = PagedMemberResponseDto.class))}), + content = {@Content(schema = @Schema(implementation = PagedResponseDto.class))}), @ApiResponse( responseCode = "400", description = "입력값이 없거나, 타입이 유효하지 않습니다.", @@ -81,7 +81,7 @@ public class ContestBoardController { @PreAuthorize( // 공모전 게시판 MenuId : 18 "@boardSecurityChecker.checkMenuAccess(18, T(com.inhabas.api.domain.board.usecase.BoardSecurityChecker).READ_BOARD_LIST)") - public ResponseEntity> getContestBoard( + public ResponseEntity> getContestBoard( @PathVariable("contestType") ContestType contestType, @Parameter(description = "공모전 분야", example = "1") @RequestParam(name = "contestFieldId", required = false) @@ -108,7 +108,7 @@ public ResponseEntity> getContestBoard( new PageImpl<>(pagedDtos, pageable, allDtos.size()); PageInfoDto pageInfoDto = new PageInfoDto(ContestBoardDtoPage); - return ResponseEntity.ok(new PagedMemberResponseDto<>(pageInfoDto, pagedDtos)); + return ResponseEntity.ok(new PagedResponseDto<>(pageInfoDto, pagedDtos)); } @Operation(summary = "공모전 게시판 글 생성", description = "공모전 게시판 글 생성 (활동회원 이상)")