You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
|
1 year ago
|
package values
|
||
|
|
|
||
|
|
// EvenTrackDataReq 打点数据请求
|
||
|
|
type EvenTrackDataReq struct {
|
||
|
|
Start string `json:"Start" binding:"required"` // 开始时间
|
||
|
|
End string `json:"End" binding:"required"` // 结束时间
|
||
|
|
Channel *string `json:"Channel" ` // 渠道id
|
||
|
|
Version *string `json:"Version"` // 版本号
|
||
|
|
}
|
||
|
|
|
||
|
|
type EvenTrackDataResp struct {
|
||
|
|
List []map[string]interface{}
|
||
|
|
}
|
||
|
|
|
||
|
|
// EventTrackGameDataReq 游戏打点数据请求
|
||
|
|
type EventTrackGameDataReq struct {
|
||
|
|
Start string `json:"Start" binding:"required"` // 开始时间
|
||
|
|
End string `json:"End" binding:"required"` // 结束时间
|
||
|
|
Channel *string `json:"Channel" ` // 渠道id
|
||
|
|
Version *string `json:"Version"` // 版本号
|
||
|
|
}
|
||
|
|
|
||
|
|
type EventTrackGameDataResp struct {
|
||
|
|
List []EventTrackGameData
|
||
|
|
}
|
||
|
|
|
||
|
|
type EventTrackGameData struct {
|
||
|
|
GameId int // 游戏id
|
||
|
|
UpdateCount int64 // 更新游戏次数
|
||
|
|
EnterCount int64 // 进入游戏次数
|
||
|
|
DuringUpdatePer string // 平均更新时长
|
||
|
|
DuringUpdate30s int64 // 更新时长小于等于30s次数
|
||
|
|
DuringUpdate30sTo120s int64 // 更新时长大于30s小于等于120s次数
|
||
|
|
DuringUpdate120s int64 // 更新时长大于120s次数
|
||
|
|
}
|