【更新】更新restful

This commit is contained in:
PandaGoAdmin
2022-08-03 16:55:18 +08:00
parent 6945277fdb
commit 249ddd80b2
2 changed files with 3 additions and 4 deletions

View File

@@ -29,9 +29,9 @@ redis:
port: 6379
mysql:
host: 47.104.252.2:3306
username: pandax
password: pandax
host: 127.0.0.1:3306
username: root
password: 123456
db-name: pandax
config: charset=utf8&loc=Local&parseTime=true

View File

@@ -62,6 +62,5 @@ func InitRouter() *transport.HttpServer {
}*/
// api接口
middleware.SwaggerConfig(container)
//http.Handle("/apidocs/", http.StripPrefix("/apidocs/", http.FileServer(http.Dir("/Users/emicklei/Projects/swagger-ui/dist"))))
return server
}