modify field name

This commit is contained in:
MaysWind
2021-03-28 21:19:07 +08:00
parent b8c48d9d95
commit 5637340125
+2 -2
View File
@@ -178,7 +178,7 @@ type TransactionInfoResponse struct {
// TransactionCountResponse represents transaction count response
type TransactionCountResponse struct {
TotalCount int64 `json:"total_count"`
TotalCount int64 `json:"totalCount"`
}
// TransactionInfoPageWrapperResponse represents a response of transaction which contains items and next id
@@ -190,7 +190,7 @@ type TransactionInfoPageWrapperResponse struct {
// TransactionInfoPageWrapperResponse2 represents a response of transaction which contains items and count
type TransactionInfoPageWrapperResponse2 struct {
Items TransactionInfoResponseSlice `json:"items"`
TotalCount int64 `json:"total_count"`
TotalCount int64 `json:"totalCount"`
}
// TransactionStatisticResponse represents an item of transaction amounts