web/src/api/promotion.js
@@ -4,17 +4,23 @@ const GET_PROMOTION_COMPETITIONS = ` query GetPromotionCompetitions($name: String, $page: Int, $size: Int) { promotionCompetitions(name: $name, page: $page, size: $size) { id competitionId competitionName stageName maxParticipants currentCount status startTime endTime sortOrder state content { id competitionId competitionName stageName maxParticipants currentCount status startTime endTime sortOrder state } totalElements page size totalPages } } `