Browse Source

添加缴费接口的返回data结构体

pull/2/head
zhangxin 4 years ago
parent
commit
06bc87d150
2 changed files with 42 additions and 0 deletions
  1. +21
    -0
      web/models/response/chargeallocationtab.go
  2. +21
    -0
      web/models/response/chargetab.go

+ 21
- 0
web/models/response/chargeallocationtab.go View File

@ -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"`
}

+ 21
- 0
web/models/response/chargetab.go View File

@ -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"`
}

Loading…
Cancel
Save