fix cancel j&t
This commit is contained in:
parent
6bf4914ade
commit
89d2f1c8fb
|
@ -17,4 +17,5 @@ const (
|
|||
const (
|
||||
msgTypeEstimateFee = "FREIGHTQUERY"
|
||||
msgTypeCreateOrder = "ORDERCREATE"
|
||||
msgTypeCancelOrder = "UPDATE"
|
||||
)
|
||||
|
|
|
@ -66,7 +66,7 @@ func (c *Client) CancelOrder(req *CancelOrderReq) (r Response) {
|
|||
body := map[string]string{
|
||||
"logistics_interface": data,
|
||||
"data_digest": c.getDigest(data),
|
||||
"msg_type": msgTypeEstimateFee,
|
||||
"msg_type": msgTypeCancelOrder,
|
||||
"eccompanyid": c.EccompanyID,
|
||||
}
|
||||
r.Request.Body = pjson.ToBytes(body)
|
||||
|
|
Loading…
Reference in New Issue