feat: 迁移渠道与游戏统计及全量汇总
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
package dto
|
||||
|
||||
type AnalyticsQuery struct {
|
||||
Page int `form:"pageNum"`
|
||||
PageSize int `form:"pageSize"`
|
||||
Sources []string `form:"sourceDb"`
|
||||
GameNames []string `form:"gameName"`
|
||||
PromoteType *int `form:"promoteType"`
|
||||
PromoteName string `form:"promoteName"`
|
||||
BeginTime string `form:"beginTime"`
|
||||
EndTime string `form:"endTime"`
|
||||
SortField string `form:"sortField"`
|
||||
SortOrder string `form:"sortOrder"`
|
||||
}
|
||||
type AnalyticsMetrics struct {
|
||||
Register int64 `json:"newRegisterCount"`
|
||||
Active int64 `json:"activeCount"`
|
||||
PayUsers int64 `json:"payUserCount"`
|
||||
NewPayUsers int64 `json:"newPayUserCount"`
|
||||
TotalPay string `json:"totalPay"`
|
||||
PayRate string `json:"payRate"`
|
||||
}
|
||||
type ChannelAnalyticsRow struct {
|
||||
SourceDB string `json:"sourceDb"`
|
||||
SourceDBLabel string `json:"sourceDbLabel"`
|
||||
PromoteID *int64 `json:"promoteId"`
|
||||
PromoteName string `json:"promoteName"`
|
||||
PromoteType *int `json:"promoteType"`
|
||||
BusierName string `json:"busierName"`
|
||||
AnalyticsMetrics
|
||||
}
|
||||
type GameAnalyticsRow struct {
|
||||
SourceDB string `json:"sourceDb"`
|
||||
SourceDBLabel string `json:"sourceDbLabel"`
|
||||
GameID *int64 `json:"gameId"`
|
||||
GameName string `json:"gameName"`
|
||||
AnalyticsMetrics
|
||||
ARPU string `json:"arpu"`
|
||||
ARPPU string `json:"arppu"`
|
||||
}
|
||||
type ChannelAnalyticsPage struct {
|
||||
Rows []*ChannelAnalyticsRow `json:"rows"`
|
||||
Total int64 `json:"total"`
|
||||
ChannelCount *int64 `json:"channelCount"`
|
||||
TotalRegisterCount *int64 `json:"totalRegisterCount"`
|
||||
TotalPayAmount *string `json:"totalPayAmount"`
|
||||
AvgPayRate *string `json:"avgPayRate"`
|
||||
Summary *ChannelAnalyticsRow `json:"summary"`
|
||||
BeginTime string `json:"beginTime"`
|
||||
EndTime string `json:"endTime"`
|
||||
Available bool `json:"available"`
|
||||
}
|
||||
type GameAnalyticsPage struct {
|
||||
Rows []*GameAnalyticsRow `json:"rows"`
|
||||
Total int64 `json:"total"`
|
||||
Summary *GameAnalyticsRow `json:"summary"`
|
||||
BeginTime string `json:"beginTime"`
|
||||
EndTime string `json:"endTime"`
|
||||
Available bool `json:"available"`
|
||||
}
|
||||
Reference in New Issue
Block a user