From 77c4055c72fc5d0e0becaf3c410ab700f26c220b Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期六, 04 十月 2025 18:57:09 +0800
Subject: [PATCH] fix(auth): 避免在 JWT 过滤器中消费原始 GraphQL 请求体,防止下游读取为空引发 400

---
 backend/src/main/resources/graphql/player.graphqls |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/backend/src/main/resources/graphql/player.graphqls b/backend/src/main/resources/graphql/player.graphqls
index 8ab03f6..d72f9d7 100644
--- a/backend/src/main/resources/graphql/player.graphqls
+++ b/backend/src/main/resources/graphql/player.graphqls
@@ -140,6 +140,15 @@
     description: String
     avatarUrl: String
     avatar: MediaResponse
+    userInfo: PlayerUserInfoResponse
+}
+
+type PlayerUserInfoResponse {
+    userId: ID
+    name: String
+    phone: String
+    avatarUrl: String
+    avatar: MediaResponse
 }
 
 type RegionInfoResponse {
@@ -151,7 +160,10 @@
 type SubmissionMediaResponse {
     id: ID
     name: String
+    path: String
     url: String
+    fullUrl: String
+    fullThumbUrl: String
     fileExt: String
     fileSize: Int
     mediaType: Int

--
Gitblit v1.8.0