From 49c254ed5bdc8348551d808ee72579a6d2221e3b Mon Sep 17 00:00:00 2001 From: lrj <owen.stl@gmail.com> Date: 星期六, 04 十月 2025 18:43:12 +0800 Subject: [PATCH] fix(miniprogram): 切换 GraphQL 端点为 /graphql,修复 review/index 400 --- web/src/api/graphql.ts | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/web/src/api/graphql.ts b/web/src/api/graphql.ts index 77046bb..865cdd5 100644 --- a/web/src/api/graphql.ts +++ b/web/src/api/graphql.ts @@ -2,7 +2,7 @@ // GraphQL 瀹㈡埛绔厤缃� export const graphqlClient = new Client({ - url: 'http://localhost:8080/api/graphql', + url: '/api/graphql', exchanges: [cacheExchange, fetchExchange], }) @@ -165,6 +165,7 @@ id?: string name: string phone?: string + password?: string gender?: number description?: string avatarMediaId?: string -- Gitblit v1.8.0