diff --git a/vendor/github.com/sjqzhang/goutil/goutil.go b/vendor/github.com/sjqzhang/goutil/goutil.go index 119d8926..b4ab3fb1 100644 --- a/vendor/github.com/sjqzhang/goutil/goutil.go +++ b/vendor/github.com/sjqzhang/goutil/goutil.go @@ -485,6 +485,7 @@ func (this *Common) JsonEncodePretty(o interface{}) string { if err!=nil { return "" } + return string(buffer.Bytes()) resp := "" switch o.(type) {