mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
【更新】更新restful
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user