Gin 设置static

import "github.com/gin-contrib/static"

...

m.Use(static.Serve("/", static.LocalFile("./static", true)), ginlogrus.Logger(g.Xlog), gin.Recovery(), cors.New(config))
updatedupdated2021-10-222021-10-22