mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 14:30:56 +00:00
update input
This commit is contained in:
parent
41dd6e580d
commit
5b9ae54441
@ -151,5 +151,6 @@ func (input *BeegoInput) Body() []byte {
|
|||||||
input.req.Body.Close()
|
input.req.Body.Close()
|
||||||
bf := bytes.NewBuffer(requestbody)
|
bf := bytes.NewBuffer(requestbody)
|
||||||
input.req.Body = ioutil.NopCloser(bf)
|
input.req.Body = ioutil.NopCloser(bf)
|
||||||
|
input.RequestBody = requestbody
|
||||||
return requestbody
|
return requestbody
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user