From 375c18a6d2713ff19b22093eec57315992d8333f Mon Sep 17 00:00:00 2001
From: Codex Assistant <codex@example.com>
Date: 星期四, 06 十一月 2025 13:33:52 +0800
Subject: [PATCH] 增加评审下载
---
web/src/api/promotion.js | 28 +++++++++++++++++-----------
1 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/web/src/api/promotion.js b/web/src/api/promotion.js
index c2b315d..ff02737 100644
--- a/web/src/api/promotion.js
+++ b/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
}
}
`
--
Gitblit v1.8.0