Skip to content

Commit 3adf3ce

Browse files
committed
refactor: API 응답을 커서 기반 페이징 방식에서 오프셋 기반 페이징 방식으로 변경
1 parent 37c1299 commit 3adf3ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/back/domain/mybar/dto/MyBarListResponseDto.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
@AllArgsConstructor
1010
public class MyBarListResponseDto {
1111
private List<MyBarItemResponseDto> items;
12-
private Long nextCursor; // 다음 페이지 시작점(없으면 null)
12+
private boolean hasNext; // 다음 페이지 존재 여부
13+
private Integer nextPage; // 다음 페이지 번호(없으면 null)
1314
}

0 commit comments

Comments
 (0)