Skip to content

Commit

Permalink
Fix data type
Browse files Browse the repository at this point in the history
  • Loading branch information
ipfans committed Jul 1, 2022
1 parent 29b0541 commit 5506012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion order_.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,5 @@ type OrderDetailList struct {
}

type CancelOrderResponse struct {
ReverseMainOrderID string `json:"reverse_main_order_id"`
ReverseMainOrderID int64 `json:"reverse_main_order_id"`
}
2 changes: 1 addition & 1 deletion testdata/order/cancel_order.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"body": {
"code": 0,
"data": {
"reverse_main_order_id": "576461413038785752"
"reverse_main_order_id": 576461413038785752
},
"message": "Success",
"request_id": "202203070749000101890810281E8C70B7"
Expand Down

0 comments on commit 5506012

Please sign in to comment.