From cacf02681bfdda7926379d37d58ad1a21e398e1a Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期六, 04 十月 2025 19:08:12 +0800
Subject: [PATCH] fix(auth): 对无 Authorization 的 GraphQL 请求默认匿名放行到解析层,避免 400/403;公开查询仍优先识别后放行

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

diff --git a/backend/src/main/resources/graphql/rating.graphqls b/backend/src/main/resources/graphql/rating.graphqls
index c22dfae..d563e9a 100644
--- a/backend/src/main/resources/graphql/rating.graphqls
+++ b/backend/src/main/resources/graphql/rating.graphqls
@@ -27,6 +27,8 @@
     name: String!
     description: String
     totalScore: Int!
+    state: Int!
+    stateName: String!
     items: [RatingItemResponse!]
     createTime: String
     updateTime: String
@@ -38,6 +40,8 @@
     name: String!
     description: String
     totalScore: Int!
+    state: Int!
+    stateName: String!
     items: [RatingItemResponse!]
     createTime: String
     updateTime: String
@@ -57,6 +61,7 @@
     totalElements: ID!
     totalPages: Int!
     number: Int!
+    page: Int!
     size: Int!
     first: Boolean!
     last: Boolean!

--
Gitblit v1.8.0