From c4938f6f4e839890b032c75c7a57333a6a9157a9 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期四, 06 十一月 2025 17:06:10 +0800
Subject: [PATCH] 添加新闻功能
---
backend/src/main/resources/graphql/player.graphqls | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/backend/src/main/resources/graphql/player.graphqls b/backend/src/main/resources/graphql/player.graphqls
index 2d165f0..373e6fe 100644
--- a/backend/src/main/resources/graphql/player.graphqls
+++ b/backend/src/main/resources/graphql/player.graphqls
@@ -2,7 +2,7 @@
myActivityPlayer(activityId: ID!): ActivityPlayer
activityPlayerApplications(name: String, activityId: ID, state: Int, page: Int, size: Int): PlayerApplicationPageResponse
# 椤圭洰璇勫涓撶敤鏌ヨ锛屽寘鍚墍鏈夐樁娈垫暟鎹紙鍖呮嫭澶嶈禌銆佸喅璧涳級
- projectReviewApplications(name: String, activityId: ID, state: Int, page: Int, size: Int): ProjectReviewApplicationPageResponse
+ projectReviewApplications(name: String, activityId: ID, regionId: ID, state: Int, page: Int, size: Int): ProjectReviewApplicationPageResponse
# 鑾峰彇鎸囧畾閫夋墜鐨勬墍鏈夎瘎濮旇瘎鍒嗙姸鎬�
judgeRatingsForPlayer(activityPlayerId: ID!): [JudgeRatingStatusResponse!]!
# 鑾峰彇鎸囧畾閫夋墜鐨勫钩鍧囧垎
@@ -24,7 +24,7 @@
# 寰俊绔幏鍙栭�夋墜鎶ュ悕鐘舵��
getPlayerRegistrationState(activityId: ID!): PlayerRegistrationResponse
# 鑾峰彇姣旇禌鏅嬬骇鍒楄〃
- promotionCompetitions(name: String, page: Int, size: Int): [PromotionCompetitionResponse!]!
+ promotionCompetitions(name: String, page: Int, size: Int): PromotionCompetitionPageResponse!
# 鑾峰彇鍙檵绾у弬璧涜�呭垪琛�
promotableParticipants(currentStageId: ID!): PromotableParticipantsResponse
}
@@ -56,7 +56,7 @@
type Player {
id: ID!
name: String
- phone: String
+ phone: String @deprecated(reason: "姝ゅ瓧娈靛凡搴熷純锛岃浣跨敤鍏宠仈User瀹炰綋鐨刾hone瀛楁")
}
type PlayerApplicationPageResponse {
@@ -96,6 +96,7 @@
totalScore: Float
status: Int
remark: String
+ ratedAt: String
items: [CurrentJudgeRatingItemResponse!]!
}
@@ -105,6 +106,7 @@
ratingItemName: String!
score: Float
weightedScore: Float
+ maxScore: Float
}
type ProjectStageTimelineResponse {
@@ -173,7 +175,7 @@
type PlayerInfoResponse {
id: ID
name: String
- phone: String
+ phone: String @deprecated(reason: "姝ゅ瓧娈靛凡搴熷純锛岃浣跨敤userInfo.phone瀛楁")
gender: Int
birthday: String
education: String
@@ -308,6 +310,15 @@
state: Int
}
+# 姣旇禌鏅嬬骇鍒楄〃鍒嗛〉鍝嶅簲绫诲瀷
+type PromotionCompetitionPageResponse {
+ content: [PromotionCompetitionResponse!]!
+ totalElements: Long!
+ page: Int!
+ size: Int!
+ totalPages: Int!
+}
+
# 鍙檵绾у弬璧涜�呭垪琛ㄥ搷搴旂被鍨�
type PromotableParticipantsResponse {
participants: [PromotableParticipantResponse!]!
--
Gitblit v1.8.0