Browse Source

根据需求修改返回data的结构体

pull/2/head
zhangxin 4 years ago
parent
commit
572972dad2
1 changed files with 3 additions and 7 deletions
  1. +3
    -7
      web/models/response/chargeallocationtab.go

+ 3
- 7
web/models/response/chargeallocationtab.go View File

@ -9,13 +9,9 @@
******************************************************************************/
package response
type StatisticData struct {
type ChargeStatisticResponse struct {
Cid int `json:"cid"`
Court string `json:"court"`
Type string `json:"type"`
Count float64 `json:"count"`
}
type ChargeStatisticResponse struct {
Cid int `json:"cid"`
Court string `json:"court"`
Items []*StatisticData `json:"items"`
}

Loading…
Cancel
Save