diff --git a/http.go b/http.go index fdfc6b3..335e017 100644 --- a/http.go +++ b/http.go @@ -11,7 +11,7 @@ import ( // JsonResult json result type JsonResult struct { Code int `json:"code"` - Data interface{} `json:data` + Data interface{} `json:"data"` } type httpServer struct {