mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 19:10:54 +00:00
update xml
This commit is contained in:
parent
bd61dd9ffc
commit
acadea6afa
@ -165,7 +165,7 @@ func (output *BeegoOutput) Jsonp(data interface{}, hasIndent bool) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (output *BeegoOutput) Xml(data string, hasIndent bool) error {
|
||||
func (output *BeegoOutput) Xml(data interface{}, hasIndent bool) error {
|
||||
output.Header("Content-Type", "application/xml;charset=UTF-8")
|
||||
var content []byte
|
||||
var err error
|
||||
|
Loading…
Reference in New Issue
Block a user