From b39a0502e7941ce966fda53664cf1b04ba52d65f Mon Sep 17 00:00:00 2001 From: lrj <owen.stl@gmail.com> Date: 星期三, 01 十月 2025 17:30:24 +0800 Subject: [PATCH] 清理测试文件:删除所有test、debug、fix、check_开头的文件,为重构做准备 --- backend/src/main/resources/graphql/player.graphqls | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/backend/src/main/resources/graphql/player.graphqls b/backend/src/main/resources/graphql/player.graphqls index 6246211..6e11257 100644 --- a/backend/src/main/resources/graphql/player.graphqls +++ b/backend/src/main/resources/graphql/player.graphqls @@ -1,5 +1,7 @@ extend type Query { - activityPlayerApplications(name: String, activityId: ID, state: Int, page: Int, size: Int): [ActivityPlayerApplicationResponse!]! + activityPlayerApplications(name: String, activityId: ID, state: Int, page: Int, size: Int): PlayerApplicationPageResponse! + # 鏂板锛氶」鐩瘎瀹′笓鐢ㄦ煡璇紝鍖呭惈鎵�鏈夐樁娈垫暟鎹紙鍖呮嫭澶嶈禌銆佸喅璧涳級 + projectReviewApplications(name: String, activityId: ID, state: Int, page: Int, size: Int): ProjectReviewApplicationPageResponse! activityPlayerDetail(id: ID!): ActivityPlayerDetailResponse # 鎶ュ悕鐘舵�佹煡璇� @@ -39,6 +41,8 @@ phone: String applyTime: String! state: Int + ratingCount: Int + averageScore: Float } # 姣旇禌鎶ュ悕璇︽儏鍝嶅簲锛堢敤浜庤瘎鍒嗛〉闈級 @@ -55,6 +59,22 @@ ratingForm: RatingFormResponse } +# 鎶ュ悕瀹℃牳鍒嗛〉鍝嶅簲绫诲瀷 +type PlayerApplicationPageResponse { + content: [ActivityPlayerApplicationResponse!]! + totalElements: Int! + page: Int! + size: Int! +} + +# 椤圭洰璇勫鍒嗛〉鍝嶅簲绫诲瀷 +type ProjectReviewApplicationPageResponse { + content: [ActivityPlayerApplicationResponse!]! + totalElements: Int! + page: Int! + size: Int! +} + # 瀛﹀憳淇℃伅鍝嶅簲 type PlayerInfoResponse { id: ID -- Gitblit v1.8.0