diff --git a/order_.go b/order_.go index ad58fab..6c4dd8c 100644 --- a/order_.go +++ b/order_.go @@ -143,5 +143,5 @@ type OrderDetailList struct { } type CancelOrderResponse struct { - ReverseMainOrderID string `json:"reverse_main_order_id"` + ReverseMainOrderID int64 `json:"reverse_main_order_id"` } diff --git a/testdata/order/cancel_order.json b/testdata/order/cancel_order.json index 50bce57..088c192 100644 --- a/testdata/order/cancel_order.json +++ b/testdata/order/cancel_order.json @@ -25,7 +25,7 @@ "body": { "code": 0, "data": { - "reverse_main_order_id": "576461413038785752" + "reverse_main_order_id": 576461413038785752 }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"