From 062ed63bb5c926486c59154bdac9c856b9fef9f6 Mon Sep 17 00:00:00 2001 From: laoboli <1293528695@qq.com> Date: Mon, 4 May 2026 17:37:15 +0800 Subject: [PATCH] feat: scalar auth persist. --- routes/routes.go | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/routes/routes.go b/routes/routes.go index cc84c8d..c1d5630 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -54,13 +54,13 @@ func SetupRouter() *gin.Engine { ginSwagger.PersistAuthorization(true), )) - // Scalar 精美API文档(持久化鉴权信息) + // Scalar 精美API文档 r.GET("/scalar", func(c *gin.Context) { c.Header("Content-Type", "text/html; charset=utf-8") c.String(http.StatusOK, ` - 智能心率采集分析平台 API 文档 + API Reference - +
+ + `) })