From d13f7ac7df46dc2bf2bfcd4db69b7b8b0bec7e31 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Fri, 25 Oct 2024 22:57:03 +0800 Subject: [PATCH] update --- app/router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/router/router.go b/app/router/router.go index 13fe0ec..18c06a0 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -28,7 +28,7 @@ func Init() *gin.Engine { // TODO::指定open的文档的位置 // 设置静态文件服务,提供 group2.json 文件 r.Static("/api-docs", "./docs") - r.GET("/open/swagger/*any", gin.BasicAuth(gin.Accounts{ + r.GET("/api/open/swagger/*any", gin.BasicAuth(gin.Accounts{ "zhiYin": "123456", }), func(c *gin.Context) { requestTls := "http://"