正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -20,7 +20,7 @@ type BaseController struct { | @@ -20,7 +20,7 @@ type BaseController struct { | ||
| 20 | 20 | ||
| 21 | func (this *BaseController) Options() { | 21 | func (this *BaseController) Options() { |
| 22 | this.AllowCross() //允许跨域 | 22 | this.AllowCross() //允许跨域 |
| 23 | - this.Data["json"] = map[string]interface{}{"status": 200, "message": "ok", "moreinfo": ""} | 23 | + this.Data["json"] = map[string]interface{}{"status": 204, "message": "ok", "moreinfo": ""} |
| 24 | this.ServeJSON() | 24 | this.ServeJSON() |
| 25 | } | 25 | } |
| 26 | 26 |
-
请 注册 或 登录 后发表评论