dengbiao 1 month ago
parent
commit
f4950b3725
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/router/router.go

+ 1
- 1
app/router/router.go View File

@@ -29,7 +29,7 @@ func Init() *gin.Engine {
// 设置静态文件服务,提供 group2.json 文件 // 设置静态文件服务,提供 group2.json 文件
r.Static("/api/api-docs", "./docs") r.Static("/api/api-docs", "./docs")
r.GET("/api/open/swagger/*any", gin.BasicAuth(gin.Accounts{ r.GET("/api/open/swagger/*any", gin.BasicAuth(gin.Accounts{
"zhiYin": "123456",
"jihuoniao": "123123",
}), func(c *gin.Context) { }), func(c *gin.Context) {
requestTls := "http://" requestTls := "http://"
if c.Request.TLS != nil { if c.Request.TLS != nil {


Loading…
Cancel
Save