作者 yangfu

base

... ... @@ -20,7 +20,7 @@ type BaseController struct {
func (this *BaseController) Options() {
this.AllowCross() //允许跨域
this.Data["json"] = map[string]interface{}{"status": 200, "message": "ok", "moreinfo": ""}
this.Data["json"] = map[string]interface{}{"status": 204, "message": "ok", "moreinfo": ""}
this.ServeJSON()
}
... ...