package mw import ( "github.com/gin-gonic/gin" ) func Handler(r *gin.Engine) { // 应用 Cors(r) }