caipin %!s(int64=4) %!d(string=hai) anos
pai
achega
5b9c07ca68
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -51,7 +51,7 @@ func main() {
 
 	// api接口文档配置
 	config := &swagger.Config{
-		URL: "http://localhost:6060/docs/swagger.json", //The url pointing to API definition
+		URL: "http://cm.com/docs/swagger.json", //The url pointing to API definition
 	}
 
 	app.Get("/swagger/{any:path}", swagger.CustomWrapHandler(config, swaggerFiles.Handler))