标签:put header div head eth ola res ext origin
m.Handlers(func(ctx *macaron.Context) {
ctx.Resp.Header().Set("Access-Control-Allow-Origin","*")
ctx.Resp.Header().Set("Access-Control-Allow-Headers", "content-type,token")
ctx.Resp.Header().Set("Access-Control-Allow-Methods", "POST, OPTIONS, GET, PUT")
})
标签:put header div head eth ola res ext origin
原文地址:https://www.cnblogs.com/zipon/p/13048946.html