From 426e5eaedbd2a9a151a33de1928532b3b819f405 Mon Sep 17 00:00:00 2001 From: yingxuelin Date: Wed, 23 Oct 2024 11:49:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=96=87=E6=A1=A3):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=20/v1=20=E7=9A=84=E8=B7=AF=E5=BE=84=E4=B8=BA=20/base?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 6593cc2..e6f7abb 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -124,7 +124,7 @@ const config: Config = { }, { label: '平台接口', - to: '/docs/openapi/v1', + to: '/docs/openapi/base', }, { label: '支付接口', @@ -221,17 +221,17 @@ const config: Config = { [ '@scalar/docusaurus', { - id: 'openapi/v1', + id: 'openapi/base', label: '', - route: '/docs/openapi/v1', + route: '/docs/openapi/base', configuration: { spec: { - url: 'https://ai.gitee.com/api/v1/yaml', + url: 'https://ai.gitee.com/api/base/yaml', }, hideModels: true, servers: [ { - url: 'https://ai.gitee.com/api/v1', + url: 'https://ai.gitee.com/api/base', description: '生产服务器', }, ], -- Gitee