更新Swagger配置,修改Host和BasePath

This commit is contained in:
longpeng 2025-06-27 14:39:32 +08:00
parent e1beee6478
commit 69b0a4cd83

View File

@ -970,8 +970,8 @@ const docTemplate = `{
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Host: "localhost:8080",
BasePath: "/api/v1",
Host: "100.118.61.45:18090",
BasePath: "/v1/api",
Schemes: []string{},
Title: "Beacon API",
Description: "This is a sample server for a beacon.",