import "github.com/gin-contrib/static"
...
m.Use(static.Serve("/", static.LocalFile("./static", true)), ginlogrus.Logger(g.Xlog), gin.Recovery(), cors.New(config))
import "github.com/gin-contrib/static"
...
m.Use(static.Serve("/", static.LocalFile("./static", true)), ginlogrus.Logger(g.Xlog), gin.Recovery(), cors.New(config))