From afdbb2ed37317466b42d3e94bb9d83dbec6d70dd Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 1 Jun 2026 13:26:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Apifox=E9=A3=8E=E6=A0=BCAPI=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E9=A1=B5=E9=9D=A2=EF=BC=8C=E6=9B=BF=E4=BB=A3MarkdownV?= =?UTF-8?q?iewer=E5=B9=B3=E9=93=BA=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/api_doc.html | 932 +++++++++++++++++++++++++++++++++++++++++++ wwwroot/api_doc.ui | 31 +- 2 files changed, 936 insertions(+), 27 deletions(-) create mode 100644 wwwroot/api_doc.html diff --git a/wwwroot/api_doc.html b/wwwroot/api_doc.html new file mode 100644 index 0000000..b644d70 --- /dev/null +++ b/wwwroot/api_doc.html @@ -0,0 +1,932 @@ + + + + + +元境 API 文档 + + + + + +
+ + + + +
+
+ + + + diff --git a/wwwroot/api_doc.ui b/wwwroot/api_doc.ui index 66c9fa9..7c498d4 100644 --- a/wwwroot/api_doc.ui +++ b/wwwroot/api_doc.ui @@ -7,35 +7,12 @@ }, "subwidgets": [ { - "widgettype": "HBox", + "widgettype": "urlwidget", "options": { + "url": "{{entire_url('/dashboard_for_sage/api_doc.html')}}", "width": "100%", - "alignItems": "center", - "marginBottom": "16px" - }, - "subwidgets": [ - { - "widgettype": "Title2", - "options": { - "text": "大模型 API 文档" - } - } - ] - }, - { - "widgettype": "VScrollPanel", - "options": { - "css": "filler" - }, - "subwidgets": [ - { - "widgettype": "MarkdownViewer", - "options": { - "md_url": "{{entire_url('/dashboard_for_sage/api_doc.md')}}", - "width": "100%" - } - } - ] + "height": "100%" + } } ] }