修改后端首页为文档主页

This commit is contained in:
chengxiao committed 2020-04-24 06:36:53 +08:00
1 parent 2d697ec80b
commit c40fe4fc1a
2 files changed
+43 -1

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ func InitRouter() *gin.Engine {
r.Use(middleware.RequestId())
r.Use(middleware.DemoEvn())
r.GET("/", handler.HelloGoAdmin)
r.GET("/", system.HelloWorld)
r.Static("/static", "./static")
r.GET("/info", handler.Ping)