Codex Assistant
2025-11-06 375c18a6d2713ff19b22093eec57315992d8333f
backend/src/main/resources/graphql/player.graphqls
@@ -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实体的phone字段")
}
type PlayerApplicationPageResponse {
@@ -175,7 +175,7 @@
type PlayerInfoResponse {
    id: ID
    name: String
    phone: String
    phone: String @deprecated(reason: "此字段已废弃,请使用userInfo.phone字段")
    gender: Int
    birthday: String
    education: String
@@ -310,6 +310,15 @@
    state: Int
}
# 比赛晋级列表分页响应类型
type PromotionCompetitionPageResponse {
    content: [PromotionCompetitionResponse!]!
    totalElements: Long!
    page: Int!
    size: Int!
    totalPages: Int!
}
# 可晋级参赛者列表响应类型
type PromotableParticipantsResponse {
    participants: [PromotableParticipantResponse!]!