cache & workMoments

This commit is contained in:
wangchuxiao 2022-04-29 17:59:42 +08:00
parent 03320e8644
commit 485241d080

View File

@ -30,7 +30,7 @@ func main() {
gin.SetMode(gin.ReleaseMode)
f, _ := os.Create("../logs/api.log")
gin.DefaultWriter = io.MultiWriter(f)
gin.SetMode(gin.DebugMode)
r := gin.Default()
r.Use(utils.CorsHandler())