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;公开查询仍优先识别后放行
---
web/src/api/projectReviewNew.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/src/api/projectReviewNew.js b/web/src/api/projectReviewNew.js
index 162d10d..5a2a8c7 100644
--- a/web/src/api/projectReviewNew.js
+++ b/web/src/api/projectReviewNew.js
@@ -23,8 +23,9 @@
`
// 鑾峰彇椤圭洰璇勫鍒楄〃
-export const getProjectReviewApplications = (params) => {
- return graphqlRequest(GET_PROJECT_REVIEW_APPLICATIONS_QUERY, params)
+export const getProjectReviewApplications = async (params) => {
+ const result = await graphqlRequest(GET_PROJECT_REVIEW_APPLICATIONS_QUERY, params)
+ return result.data
}
export default {
--
Gitblit v1.8.0