From 06bc87d1507264395b78e4ae30982c18469ff3af Mon Sep 17 00:00:00 2001 From: zhangxin Date: Wed, 10 Mar 2021 19:07:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BC=B4=E8=B4=B9=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E7=9A=84=E8=BF=94=E5=9B=9Edata=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/models/response/chargeallocationtab.go | 21 +++++++++++++++++++++ web/models/response/chargetab.go | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 web/models/response/chargeallocationtab.go create mode 100644 web/models/response/chargetab.go diff --git a/web/models/response/chargeallocationtab.go b/web/models/response/chargeallocationtab.go new file mode 100644 index 0000000..9cd8b33 --- /dev/null +++ b/web/models/response/chargeallocationtab.go @@ -0,0 +1,21 @@ +/****************************************************************************** + * @Function Name : + *----------------------------------------------------------------------------- + * @Description : + * @Function Parameters: + * @Return Value : + * @Author : Zhang Xin + * @Date : 2021/3/3 11:02 + ******************************************************************************/ +package response + +type StatisticData struct { + Type string `json:"type"` + Count float64 `json:"count"` +} + +type ChargeStatisticResponse struct { + Cid int `json:"cid"` + Court string `json:"court"` + Items []*StatisticData `json:"items"` +} diff --git a/web/models/response/chargetab.go b/web/models/response/chargetab.go new file mode 100644 index 0000000..1f7c5e4 --- /dev/null +++ b/web/models/response/chargetab.go @@ -0,0 +1,21 @@ +/****************************************************************************** + * @Function Name : + *----------------------------------------------------------------------------- + * @Description : + * @Function Parameters: + * @Return Value : + * @Author : Zhang Xin + * @Date : 2021/3/3 11:02 + ******************************************************************************/ +package response + +type ChargeTypeStatisticDate struct { + Type int64 `json:"type"` + Count float64 `json:"count"` +} + +type ChargeTypeStatisticResponse struct { + Cid int `json:"cid"` + Court string `json:"court"` + Items []*ChargeTypeStatisticDate `json:"items"` +}