From a3d8548c157af4fa52ee74f2333a4607c0288b06 Mon Sep 17 00:00:00 2001 From: loulifeng Date: Tue, 29 Sep 2020 11:47:50 +0800 Subject: [PATCH] correct QueryDepositWithdrawResponse error id json mapping --- pkg/model/wallet/querydepositwithdrawresponse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/model/wallet/querydepositwithdrawresponse.go b/pkg/model/wallet/querydepositwithdrawresponse.go index ce0f046..9ed06af 100644 --- a/pkg/model/wallet/querydepositwithdrawresponse.go +++ b/pkg/model/wallet/querydepositwithdrawresponse.go @@ -7,7 +7,7 @@ type QueryDepositWithdrawResponse struct { Data []DepositWithdraw `json:"data"` } type DepositWithdraw struct { - Id int64 `json:"status"` + Id int64 `json:"id"` Type string `json:"type"` Currency string `json:"currency"` TxHash string `json:"tx-hash"`