forked from all_user/stat_center
26 lines
1.2 KiB
Go
26 lines
1.2 KiB
Go
package proto
|
|
|
|
import "time"
|
|
|
|
// 请求曲线图数据
|
|
type ListDistrictMinuteStatReq struct {
|
|
SumDate *time.Time `form:"sumDate" json:"sumDate" binding:"required"` // 请求日的零点时间
|
|
ChannelCode *string `form:"channelCode" json:"channelCode"` // 请求的渠道码
|
|
ChannelRemark *string `form:"channelRemark" json:"channelRemark"` // 渠道备注
|
|
AppId *int32 `form:"appId" json:"appId"` // 应用id
|
|
}
|
|
|
|
type ListDistrictMinuteStatRes struct {
|
|
AppInfo AppInfoRes `json:"appInfo"` // app信息
|
|
TodayGraphList []DistrictMinuteStatInfo `json:"todayGraphList"` // 今日曲线图数据
|
|
YesterdayGraphList []DistrictMinuteStatInfo `json:"yesterdayGraphList"` // 昨日曲线图数据
|
|
}
|
|
|
|
type DistrictMinuteStatInfo struct {
|
|
SumDate time.Time `json:"sumDate"` // 记录时间,当日零点时间
|
|
NewCount int64 `json:"newCount"` // 新增数
|
|
AndroidAddCount int64 `json:"androidAddCount"` // android新增
|
|
IosAddCount int64 `json:"iosAddCount"` // ios新增
|
|
FissionCount int64 `json:"fissionCount"` // 新增裂变
|
|
}
|