| | |
| | | # 微信端获取选手报名状态 |
| | | getPlayerRegistrationState(activityId: ID!): PlayerRegistrationResponse |
| | | # 获取比赛晋级列表 |
| | | promotionCompetitions(name: String, page: Int, size: Int): [PromotionCompetitionResponse!]! |
| | | promotionCompetitions(name: String, page: Int, size: Int): PromotionCompetitionPageResponse! |
| | | # 获取可晋级参赛者列表 |
| | | promotableParticipants(currentStageId: ID!): PromotableParticipantsResponse |
| | | } |
| | |
| | | type Player { |
| | | id: ID! |
| | | name: String |
| | | phone: String |
| | | phone: String @deprecated(reason: "此字段已废弃,请使用关联User实体的phone字段") |
| | | } |
| | | |
| | | type PlayerApplicationPageResponse { |
| | |
| | | type PlayerInfoResponse { |
| | | id: ID |
| | | name: String |
| | | phone: String |
| | | phone: String @deprecated(reason: "此字段已废弃,请使用userInfo.phone字段") |
| | | gender: Int |
| | | birthday: String |
| | | education: String |
| | |
| | | state: Int |
| | | } |
| | | |
| | | # 比赛晋级列表分页响应类型 |
| | | type PromotionCompetitionPageResponse { |
| | | content: [PromotionCompetitionResponse!]! |
| | | totalElements: Long! |
| | | page: Int! |
| | | size: Int! |
| | | totalPages: Int! |
| | | } |
| | | |
| | | # 可晋级参赛者列表响应类型 |
| | | type PromotableParticipantsResponse { |
| | | participants: [PromotableParticipantResponse!]! |