diff --git a/htx/utils/request.go b/htx/utils/request.go index e1f1c73..a69dbbe 100644 --- a/htx/utils/request.go +++ b/htx/utils/request.go @@ -69,8 +69,10 @@ func (h *HTTPRequest) RequestBody() (string, error) { } type V1Response struct { - Status string `json:"messsage"` - Ch string `json:"ch"` + Status string `json:"status"` + Ch string `json:"ch"` + ErrCode string `json:"err-code,omitempty"` + ErrMsg string `json:"err-msg,omitempty"` } type V2Response struct {