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/schema.graphqls | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/backend/src/main/resources/graphql/schema.graphqls b/backend/src/main/resources/graphql/schema.graphqls
index 97df1d7..96f318a 100644
--- a/backend/src/main/resources/graphql/schema.graphqls
+++ b/backend/src/main/resources/graphql/schema.graphqls
@@ -1,9 +1,20 @@
# GraphQL Schema 瀹氫箟
+# 鑷畾涔夋爣閲忕被鍨�
+scalar Long
+
# 鏌ヨ鏍圭被鍨�
type Query {
# 娴嬭瘯鏌ヨ
hello: String
+
+ # 搴旂敤閰嶇疆鏌ヨ
+ appConfig: AppConfig
+}
+
+# 搴旂敤閰嶇疆绫诲瀷
+type AppConfig {
+ mediaBaseUrl: String!
}
# 鍙樻洿鏍圭被鍨�
--
Gitblit v1.8.0