mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 09:14:27 +08:00
modify field name
This commit is contained in:
@@ -178,7 +178,7 @@ type TransactionInfoResponse struct {
|
|||||||
|
|
||||||
// TransactionCountResponse represents transaction count response
|
// TransactionCountResponse represents transaction count response
|
||||||
type TransactionCountResponse struct {
|
type TransactionCountResponse struct {
|
||||||
TotalCount int64 `json:"total_count"`
|
TotalCount int64 `json:"totalCount"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TransactionInfoPageWrapperResponse represents a response of transaction which contains items and next id
|
// 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
|
// TransactionInfoPageWrapperResponse2 represents a response of transaction which contains items and count
|
||||||
type TransactionInfoPageWrapperResponse2 struct {
|
type TransactionInfoPageWrapperResponse2 struct {
|
||||||
Items TransactionInfoResponseSlice `json:"items"`
|
Items TransactionInfoResponseSlice `json:"items"`
|
||||||
TotalCount int64 `json:"total_count"`
|
TotalCount int64 `json:"totalCount"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TransactionStatisticResponse represents an item of transaction amounts
|
// TransactionStatisticResponse represents an item of transaction amounts
|
||||||
|
|||||||
Reference in New Issue
Block a user