{"action":"created","issue":{"url":"https://api.github.com/repos/astaxie/beego/issues/1517","labels_url":"https://api.github.com/repos/astaxie/beego/issues/1517/labels{/name}","comments_url":"https://api.github.com/repos/astaxie/beego/issues/1517/comments","events_url":"https://api.github.com/repos/astaxie/beego/issues/1517/events","html_url":"https://github.com/astaxie/beego/pull/1517","id":123932466,"number":1517,"title":"给 BeegoOutput 添加 Content 变量","user":{"login":"coseyo","id":938789,"avatar_url":"https://avatars.githubusercontent.com/u/938789?v=3","gravatar_id":"","url":"https://api.github.com/users/coseyo","html_url":"https://github.com/coseyo","followers_url":"https://api.github.com/users/coseyo/followers","following_url":"https://api.github.com/users/coseyo/following{/other_user}","gists_url":"https://api.github.com/users/coseyo/gists{/gist_id}","starred_url":"https://api.github.com/users/coseyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coseyo/subscriptions","organizations_url":"https://api.github.com/users/coseyo/orgs","repos_url":"https://api.github.com/users/coseyo/repos","events_url":"https://api.github.com/users/coseyo/events{/privacy}","received_events_url":"https://api.github.com/users/coseyo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-26T14:45:26Z","updated_at":"2015-12-27T04:24:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/astaxie/beego/pulls/1517","html_url":"https://github.com/astaxie/beego/pull/1517","diff_url":"https://github.com/astaxie/beego/pull/1517.diff","patch_url":"https://github.com/astaxie/beego/pull/1517.patch"},"body":"在 AfterExec 中需要对之前的 ResponseWriter 的 body 内容进行读取并加工时，原来没有变量存储用户输入的body内容，无法读取，添加content变量方便后续的中间件进行判断处理。"},"comment":{"url":"https://api.github.com/repos/astaxie/beego/issues/comments/167378809","html_url":"https://github.com/astaxie/beego/pull/1517#issuecomment-167378809","issue_url":"https://api.github.com/repos/astaxie/beego/issues/1517","id":167378809,"user":{"login":"coseyo","id":938789,"avatar_url":"https://avatars.githubusercontent.com/u/938789?v=3","gravatar_id":"","url":"https://api.github.com/users/coseyo","html_url":"https://github.com/coseyo","followers_url":"https://api.github.com/users/coseyo/followers","following_url":"https://api.github.com/users/coseyo/following{/other_user}","gists_url":"https://api.github.com/users/coseyo/gists{/gist_id}","starred_url":"https://api.github.com/users/coseyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coseyo/subscriptions","organizations_url":"https://api.github.com/users/coseyo/orgs","repos_url":"https://api.github.com/users/coseyo/repos","events_url":"https://api.github.com/users/coseyo/events{/privacy}","received_events_url":"https://api.github.com/users/coseyo/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T04:24:22Z","updated_at":"2015-12-27T04:24:22Z","body":"嗯，确实。可以考虑加个配置开关，因为有时候后置中间件是需要根据前面的输出来决定书写逻辑的。\r\n"}}