diff --git a/res/res.go b/res/res.go index 8b362a8..6eeb8aa 100644 --- a/res/res.go +++ b/res/res.go @@ -3,9 +3,9 @@ package res import "encoding/json" type response struct { - Code int - Message string - Uuid string + Code int `json:"code"` + Message string `json:"message"` + Uuid string `json:"uuid"` Data interface{} `json:"data,omitempty"` }